Increase cinder timeout to 180 sec #738
Open
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
RHEV job utilizes VMs that are a bit slower. Usually the job fails as
TASK [cinder_adoption : wait for Cinder pods to start up] **********************
Wednesday 13 November 2024 20:28:00 +0000 (0:00:00.071) 0:18:59.868 ****
FAILED - RETRYING: [localhost]: wait for Cinder pods to start up (60 retries left).
...
FAILED - RETRYING: [localhost]: wait for Cinder pods to start up (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 60, "changed": true, "cmd": "set -euxo pipefail\n\nexport KUBECONFIG=~/adoption/kubeconfig\n\noc wait pod --for condition=Ready -l component=cinder-scheduler\noc wait pod --for condition=Ready -l component=cinder-api\n[ -z "" ] || oc wait pod --for condition=Ready -l component=cinder-volume\n[ -z "" ] || oc wait pod --for condition=Ready -l component=cinder-backup\n", "delta": "0:00:00.216386", "end": "2024-11-13 20:30:29.983085", "msg": "non-zero return code", "rc": 1, "start": "2024-11-13 20:30:29.766699", "stderr": "+ export KUBECONFIG=/home/stack/adoption/kubeconfig\n+ KUBECONFIG=/home/stack/adoption/kubeconfig\n+ oc wait pod --for condition=Ready -l component=cinder-scheduler\nerror: no matching resources found", "stderr_lines": ["+ export KUBECONFIG=/home/stack/adoption/kubeconfig", "+ KUBECONFIG=/home/stack/adoption/kubeconfig", "+ oc wait pod --for condition=Ready -l component=cinder-scheduler", "error: no matching resources found"], "stdout": "", "stdout_lines": []}
This patch increases timeout that should be enough in most of cases even on slow envs. This reduces the chance of failure significantly.