Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1515614

Summary: Add pre-upgrade check to detect if there are bad content definitions
Product: Red Hat Satellite Reporter: Kavita <kgaikwad>
Component: Satellite MaintainAssignee: Kavita <kgaikwad>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: 6.3.0CC: apatel, bbuckingham, inecas, kgaikwad, ktordeur, mmccune, sabnave
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-01 18:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1496794    

Description Kavita 2017-11-21 06:03:22 UTC
Description of problem:

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.


Additional info:

Original bugzilla for reference - https://bugzilla.redhat.com/show_bug.cgi?id=1503176

Comment 1 Satellite Program 2017-11-21 07:16:00 UTC
Upstream bug assigned to kgaikwad

Comment 4 Mike McCune 2018-02-01 18:03:52 UTC
this is taken care of with this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1520326

marking as a dupe

*** This bug has been marked as a duplicate of bug 1520326 ***