Project

General

Profile

Feature #21927

Check candlepin database validity as part of pre-upgrade steps using cpdb

Added by Kavita Gaikwad 11 months ago. Updated 4 months ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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):
6.2.z

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

Associated revisions

Revision c7991ea6 (diff)
Added by Kavita Gaikwad 10 months ago

Fixes #21927 - check to validate candlepin db using cpdb

History

#1 Updated by Kavita Gaikwad 11 months ago

  • Target version changed from 1.15.6 to 230

#2 Updated by Kavita Gaikwad 11 months ago

  • Priority changed from Normal to High

#3 Updated by Kavita Gaikwad 10 months ago

  • Bugzilla link changed from 1512082 to 1520326
  • Subject changed from Check candlepin database validity as part of pre-upgrade steps to Check candlepin database validity as part of pre-upgrade steps using cpdb

#4 Updated by The Foreman Bot 10 months ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/139 added

#5 Updated by Kavita Gaikwad 9 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF