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

Deployment error ""msg": "Status code was -1 and not [200]" #173

Open
allaboutopensource opened this issue Feb 27, 2023 · 0 comments
Open
Labels
triaged Looked at the issue

Comments

@allaboutopensource
Copy link

allaboutopensource commented Feb 27, 2023

We are trying to install the medium installation of the ECE 3.5.1 using the ansible playbook given in the repo. While executing the repo we are getting the below error at the end of the playbook.

fatal: [host2]: FAILED! => {
"changed": false,
"content": "",
"elapsed": 0,
"invocation": {
"module_args": {
"attributes": null,
"body": {
"persistent": false,
"roles": [
"director",
"coordinator",
"proxy"
]
},
"body_format": "json",
"ca_path": null,
"client_cert": null,
"client_key": null,
"creates": null,
"dest": null,
"follow_redirects": "safe",
"force": false,
"force_basic_auth": true,
"group": null,
"headers": {
"Content-Type": "application/json"
},
"http_agent": "ansible-httpget",
"method": "POST",
"mode": null,
"owner": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"remote_src": false,
"removes": null,
"return_content": true,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"status_code": [
200
],
"timeout": 30,
"unix_socket": null,
"unsafe_writes": false,
"url": "https://host1:12443/api/v1/platform/configuration/security/enrollment-tokens",
"url_password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"url_username": "admin",
"use_gssapi": false,
"use_proxy": true,
"user": "admin",
"validate_certs": false
}
},
"msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno -2] Name or service not known>",
"redirected": false,
"status": -1,
"url": "https://host1:12443/api/v1/platform/configuration/security/enrollment-tokens"
}

@navyau09 navyau09 added the triaged Looked at the issue label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Looked at the issue
Projects
None yet
Development

No branches or pull requests

2 participants