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 1554371 - Upgrade failed from 6.2.14 to 6.3 at step migrate_candlepin
Summary: Upgrade failed from 6.2.14 to 6.3 at step migrate_candlepin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Sanket Jagtap
URL:
Whiteboard:
: 1556819 (view as bug list)
Depends On: 1558065
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-12 14:09 UTC by Sanket Jagtap
Modified: 2021-08-30 12:09 UTC (History)
15 users (show)

Fixed In Version: candlepin-2.1.15-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1558060 (view as bug list)
Environment:
Last Closed: 2018-03-21 16:28:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3380851 0 None None None 2018-03-15 14:30:31 UTC
Red Hat Product Errata RHBA-2018:0575 0 None None None 2018-03-21 16:28:41 UTC

Description Sanket Jagtap 2018-03-12 14:09:22 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Upgrading from 6.2.14 to 6.3

How reproducible:


Steps to Reproduce:
1. Installed a 6.2.14 box 
2. Upgraded the box to 6.3.0 GA
3.

Actual results:
########## ERROR ############
Error running command: 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=6kuSdXvRjuB3HTaXhd8j5tL3CbTG67Se --logLevel=severe migrate -Dcommunity=False
Status code: 65280
Command output: SEVERE 3/12/18 9:50 AM:liquibase: db/changelog/changelog-update.xml: db/changelog/20170206133825-add-share-consumer-type.xml::20170206133825-1::awood: Change Set db/changelog/
20170206133825-add-share-consumer-type.xml::20170206133825-1::awood failed.  Error: Error executing SQL INSERT INTO public.cp_consumer_type (id, label, manifest) VALUES ('1008', 'share', 'N')
: ERROR: duplicate key value violates unique constraint "cp_consumer_type_label_key"
  Detail: Key (label)=(share) already exists.


Expected results:
Migration should be successfull

Additional info:
The Box has various repo's for various manifests enabled

Comment 1 Sanket Jagtap 2018-03-12 14:10:03 UTC
Edit:
Additional info:
The Box has various repo's for various arch type enabled

Comment 9 Sanket Jagtap 2018-03-21 13:40:18 UTC
Build: Satellite 6.3.0.1 Async 

Upgrade from 6.2.14 to 6.3.0.1 was successful

Registration of Content host was also successfully done

Comment 12 errata-xmlrpc 2018-03-21 16:28:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0575

Comment 13 Kevin Howell 2018-06-11 14:15:20 UTC
*** Bug 1556819 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.