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 1194819 - Installer fails due to issue with newer candlepin and liquibase
Summary: Installer fails due to issue with newer candlepin and liquibase
Keywords:
Status: CLOSED DUPLICATE of bug 1194997
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-20 20:13 UTC by Og Maciel
Modified: 2017-02-23 20:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-23 14:00:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug (250.12 KB, application/x-xz)
2015-02-20 20:13 UTC, Og Maciel
no flags Details

Description Og Maciel 2015-02-20 20:13:54 UTC
Created attachment 994042 [details]
foreman-debug

Description of problem:

Running katello-configure from compose Satellite-6.1.0-RHEL-6-20150220.0 fails with a serious candlepin error:

# liquibase --driver=org.postgresql.Driver --classpath=/usr/share/java/postgresql-jdbc.jar:/var/lib/tomcat6/webapps/candlepin/WEB-INF/classes/ --changeLogFile=db/changelog/changelog-create.xml --url=jdbc:postgresql:candlepin --username=candlepin --password=mbqrvPcwhcvFBX2qESRhH4N7ZVPFdodj migrate -Dcommunity=False
INFO 2/20/15 2:23 PM:liquibase: Successfully acquired change log lock
INFO 2/20/15 2:23 PM:liquibase: Reading from databasechangelog
INFO 2/20/15 2:23 PM:liquibase: Reading from databasechangelog
INFO 2/20/15 2:23 PM:liquibase: Successfully released change log lock
Liquibase Update Failed: Validation Failed:
     1 changes have validation failures
          addForeignKeyConstraint is not supported on postgresql, db/changelog/20150123105016-add-consumer-checkin-table.xml::20150123105016-1::dgoodwin::(Checksum: 3:ef15d24f295f43442a692f544ed5efe0)

SEVERE 2/20/15 2:23 PM:liquibase: Validation Failed:
     1 changes have validation failures
          addForeignKeyConstraint is not supported on postgresql, db/changelog/20150123105016-add-consumer-checkin-table.xml::20150123105016-1::dgoodwin::(Checksum: 3:ef15d24f295f43442a692f544ed5efe0)

liquibase.exception.ValidationFailedException: Validation Failed:
     1 changes have validation failures
          addForeignKeyConstraint is not supported on postgresql, db/changelog/20150123105016-add-consumer-checkin-table.xml::20150123105016-1::dgoodwin::(Checksum: 3:ef15d24f295f43442a692f544ed5efe0)

	at liquibase.changelog.DatabaseChangeLog.validate(Unknown Source)
	at liquibase.Liquibase.update(Unknown Source)
	at liquibase.integration.commandline.Main.doMigration(Unknown Source)
	at liquibase.integration.commandline.Main.main(Unknown Source)


For more information, use the --logLevel flag)

Version-Release number of selected component (if applicable):

* Satellite-6.1.0-RHEL-6-20150220.0
* candlepin-scl-1-5.el6_4.noarch
* candlepin-common-1.0.21-1.el6.noarch
* candlepin-tomcat6-0.9.42-1.el6.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-selinux-0.9.42-1.el6.noarch
* candlepin-0.9.42-1.el6.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* liquibase-2.0.5-2.el6sat.noarch

How reproducible:


Steps to Reproduce:
1. Install katello from the mentioned compose
2. Run katello-configure
3.

Actual results:


Expected results:


Additional info:

Comment 2 Devan Goodwin 2015-02-23 14:00:45 UTC

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


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