Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Registry task fails: Invalid registry type #11

Open
somq opened this issue May 30, 2019 · 0 comments
Open

Configure Registry task fails: Invalid registry type #11

somq opened this issue May 30, 2019 · 0 comments

Comments

@somq
Copy link
Contributor

somq commented May 30, 2019

Type key is missing in registry template

Error with portainer version 1.20.2

fatal: [localhost]: FAILED! => {
    "changed": false,
    "connection": "close",
    "content": "{\"err\":\"Invalid request payload\",\"details\":\"Invalid registry type. Valid values are: 1 (Quay.io), 2 (Azure container registry) or 3 (custom registry)\"}\n",
    "content_length": "152",
    "content_type": "application/json",
    "date": "Thu, 30 May 2019 01:00:22 GMT",
    "elapsed": 0,
    "invocation": {
        "module_args": {
            "attributes": null,
            "backup": null,
            "body": {
                "Authentication": true,
                "Name": "nexus-oss",
                "Password": "password",
                "URL": "1.2.3.4:5001",
                "Username": "username"
            },
...

Note:

This task also fails when a registry with the same name/url already exists instead of skipping gracefuly
"A registry with the same URL already exists"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant