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 #1

Updated by Kavita Gaikwad over 6 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Kavita Gaikwad over 6 years ago

  • Bugzilla link set to 1515614
Actions #3

Updated by The Foreman Bot over 6 years ago

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

Updated by Kavita Gaikwad over 6 years ago

  • Target version changed from 1.15.6 to 230
Actions #5

Updated by Kavita Gaikwad almost 4 years ago

  • Status changed from New to Resolved
  • Triaged set to No

Resolved as part of feature - https://projects.theforeman.org/issues/21927

Actions

Also available in: Atom PDF