Bug #46204
cephadm upgrade test: fail if upgrade status is set to error
Status:
New
Priority:
Normal
Assignee:
-
Category:
teuthology
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:
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.
Related issues
History
#1 Updated by Sebastian Wagner 6 months ago
- Subject changed from cephadm upgrade: fail if upgrade status is set to error to cephadm upgrade test: fail if upgrade status is set to error
#3 Updated by Sebastian Wagner 30 days ago
- Related to Bug #48695: cephadm: upgrade should not get blocked, on intermediate UPGRADE_FAILED_PULL added