Feature #21713

Add pre-upgrade check to detect if there are bad content definitions

Added by Kavita Gaikwad 6 months ago. Updated 6 months ago.

Status:New
Priority:Normal
Assigned To:Kavita Gaikwad
Category:-
Target version:Foreman - Team Anurag Iteration 22
Difficulty: Bugzilla link:1515614
Found in release: Pull request:https://github.com/theforeman/foreman_maintain/pull/128
Story points-
Velocity based estimate-

Description

candlepin migration step failed during installer run with following error:

liquibase --driver=org.postgresql.Driver --classpath=/usr/share/java/postgresql-jdbc.jar:/var/lib/tomcat/webapps/candlepin/WEB-INF/classes/ --changeLogFile=db/changelog/changelog-update.xml --url=jdbc:postgresql:candlepin --username=candlepin --password=<PASSWORD> migrate -Dcommunity=False

If the content id is only being referenced by the default environment and no place else then it leads to above failure.

There should be check needed to detect if there are any bad content definitions.

History

#1 Updated by Kavita Gaikwad 6 months ago

  • Tracker changed from Bug to Feature

#2 Updated by Kavita Gaikwad 6 months ago

  • Bugzilla link set to 1515614

#3 Updated by The Foreman Bot 6 months ago

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

#4 Updated by Kavita Gaikwad 6 months ago

  • Target version changed from Team Anurag backlog to Team Anurag Iteration 22

Also available in: Atom PDF