Actions
Bug #46204
closedcephadm upgrade test: fail if upgrade status is set to error
% Done:
0%
Source:
Q/A
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
If the upgrade fails, the test run hangs indefinitely:
INFO:cephadm:Using recent ceph image docker.io/ceph/ceph:v15.2.0 { "target_image": "quay.io/ceph-ci/ceph:4c17bddcef39d3df83a6ab939ac631ad6c600445", "in_progress": true, "services_complete": [], "message": "Error: UPGRADE_FAILED_PULL: Upgrade: failed to pull target image" }
Things to do here
- add a
status
entry to the upgrade status dict - set it to "error"
- Make sure, the upgrade tests fails, if we encounter an error.
Actions