Project

General

Profile

Feature #21713

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

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

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

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 12 months ago

  • Tracker changed from Bug to Feature

#2 Updated by Kavita Gaikwad 12 months ago

  • Bugzilla link set to 1515614

#3 Updated by The Foreman Bot 11 months ago

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

#4 Updated by Kavita Gaikwad 11 months ago

  • Target version changed from 1.15.6 to 230

Also available in: Atom PDF