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

[upgrades] Get cluster version: API server not responding - add retry #742

Closed
przemyslavic opened this issue Nov 20, 2019 · 0 comments
Closed
Assignees
Labels

Comments

@przemyslavic
Copy link
Collaborator

We should add a retry to the following task

2019-11-19T19:53:36.1222091Z 19:53:36 INFO cli.engine.ansible.AnsibleCommand - TASK [upgrade : Get cluster version] *******************************************
2019-11-19T19:53:38.0041819Z 19:53:38 INFO cli.engine.ansible.AnsibleCommand - fatal: [vm-qa-upgrades-rhel-master-001]: FAILED! => {"changed": false, "cmd": "set -o pipefail && kubectl version --short -o json | jq --raw-output '.serverVersion.gitVersion'", "delta": "0:00:00.189137", "end": "2019-11-19 19:53:37.647744", "msg": "non-zero return code", "rc": 1, "start": "2019-11-19 19:53:37.458607", "stderr": "The connection to the server 10.0.0.6:6443 was refused - did you specify the right host or port?", "stderr_lines": ["The connection to the server 10.0.0.6:6443 was refused - did you specify the right host or port?"], "stdout": "null", "stdout_lines": ["null"]}
@to-bar to-bar self-assigned this Nov 20, 2019
to-bar added a commit that referenced this issue Nov 20, 2019
* Wait for apiserver before verifying cluster version (#742)

* Parse output only when kubectl command succeeded (#741)
@to-bar to-bar closed this as completed Nov 20, 2019
to-bar added a commit to to-bar/epiphany that referenced this issue May 6, 2020
* Wait for apiserver before verifying cluster version (hitachienergy#742)

* Parse output only when kubectl command succeeded (hitachienergy#741)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants