Actions
Fix #16521
closedCheck for sanity before upgrading
% 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