Project

General

Profile

Actions

Fix #16521

closed

Check for sanity before upgrading

Added by Nathan Cutler almost 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Add a "pre" sanity check to the install.upgrade task. This sanity check will:

1. determine the version of Ceph installed on the remote ("installed_version")
2. determine the version of Ceph in the target gitbuilder repo ("upgrade_version")
3. if "installed_version" is greater than "upgrade_version", fail immediately

Since the upgrade itself cannot succeed if upgrade_version < installed_version, it's better to fail before attempting the upgrade.

Currently we are failing in the verify_package_version() sanity check which is run after attempting (and failing) to upgrade the packages.

Actions #1

Updated by Nathan Cutler almost 8 years ago

See #14995 for the confusion that results from not having this check.

Actions #2

Updated by Nathan Cutler almost 8 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Nathan Cutler almost 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF