Check candlepin database validity as part of pre-upgrade steps using cpdb
|Assigned To:||Kavita Gaikwad|
|Target version:||Foreman - Team Anurag Iteration 22|
|Found in release:||Pull request:||https://github.com/theforeman/foreman_maintain/pull/139|
|Velocity based estimate||-|
Description of problem:
A command is being added to Satellite 6.3 (candlepin 2) to check the database prior to the cp database migration for any database validity problems that could cause the upgrade to fail.
This needs to be added somehow to a 6.2.z/foreman-maintain release so that users can run this prior to the upgrade to 6.3.
Version-Release number of selected component (if applicable):
The idea being that the user would run 'foreman-maintain upgrade check' and some queries would be run to determine the health of the candlepin database prior to starting the 6.3 upgrade.
For this, we can add pre-upgrade step: call cpdb --validate
#5 Updated by Kavita Gaikwad 3 months ago
- % Done changed from 0 to 100
- Status changed from New to Closed
Applied in changeset foreman_maintain|c7991ea602dec13760cd8e7f99f4f30bce5b1a6b.