Project

General

Profile

Actions

Feature #21713

closed

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

Added by Kavita Gaikwad over 6 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
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.

Actions

Also available in: Atom PDF