You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using the express role to add nodes to an existing cluster. Everything works fine, except sometimes I get the following error:
TASK [k8s-cluster-attach : Attaching to Cluster : UUID = 41f44e62-7af5-4323-8c37-bd02726f9836] ***
Friday 22 January 2021 14:21:01 +0000 (0:00:00.308) 0:05:08.418 ********
fatal: [example.hostname.com]: FAILED! => {"access_control_allow_credentials": "true", "changed": false, "connection": "close", "content": "{\"error\":{\"message\":\"Error: node e147f337-e56c-461e-acad-d3b03eee93e5 needs valid IP before joining cluster null\",\"code\":400}}", "content_length": "126", "content_type": "application/json; charset=utf-8", "date": "Fri, 22 Jan 2021 14:21:03 GMT", "elapsed": 1, "json": {"error": {"code": 400, "message": "Error: node e147f337-e56c-461e-acad-d3b03eee93e5 needs valid IP before joining cluster null"}}, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "server": "nginx/1.14.1", "status": 400, "url": "https://example.platform9.net/qbert/v1/clusters/41f44e62-7af5-4323-8c37-bd02726f9836/attach"}
...ignoring
TASK [k8s-cluster-attach : debug] **********************************************
Friday 22 January 2021 14:21:03 +0000 (0:00:02.120) 0:05:10.539 ********
ok: [example.hostname.com] => {
"uri_result": {
"access_control_allow_credentials": "true",
"changed": false,
"connection": "close",
"content": "{\"error\":{\"message\":\"Error: node e147f337-e56c-461e-acad-d3b03eee93e5 needs valid IP before joining cluster null\",\"code\":400}}",
"content_length": "126",
"content_type": "application/json; charset=utf-8",
"date": "Fri, 22 Jan 2021 14:21:03 GMT",
"elapsed": 1,
"failed": true,
"json": {
"error": {
"code": 400,
"message": "Error: node e147f337-e56c-461e-acad-d3b03eee93e5 needs valid IP before joining cluster null"
}
},
"msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request",
"redirected": false,
"server": "nginx/1.14.1",
"status": 400,
"url": "https://example.platform9.net/qbert/v1/clusters/41f44e62-7af5-4323-8c37-bd02726f9836/attach"
}
}
So node needs valid IP? Not sure what that means. When I run the playbook again it attaches the node to the cluster with no issue. Sometimes the playbook works from the first time as well. Is there a certain check that needs to be added/is skipped?
SUMMARY
I have been using the express role to add nodes to an existing cluster. Everything works fine, except sometimes I get the following error:
So node needs valid IP? Not sure what that means. When I run the playbook again it attaches the node to the cluster with no issue. Sometimes the playbook works from the first time as well. Is there a certain check that needs to be added/is skipped?
ISSUE TYPE
COMPONENT NAME
Express role
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
EXPECTED RESULTS
Attach node successfully
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: