Project

General

Profile

Bug #46204

cephadm upgrade test: fail if upgrade status is set to error

Added by Sebastian Wagner about 1 month ago. Updated 13 days ago.

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

http://pulpito.ceph.com/swagner-2020-06-25_08:07:18-rados:cephadm-wip-swagner-testing-2020-06-24-1032-distro-basic-smithi/

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.

History

#1 Updated by Sebastian Wagner 13 days 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

Also available in: Atom PDF