+++ This bug was initially created as a clone of Bug #1392098 +++ +++ This bug was initially created as a clone of Bug #1392097 +++ follow up question: I've applied the workaround, but now the upgrade procedure does not work: Upgrade Step: migrate_candlepin... [ INFO 2016-11-03 14:04:29 verbose] Upgrade Step: migrate_candlepin... ########## 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=UwAUXGvbHF3xAQcDeNsXSLah5bo5DoSb migrate -Dcommunity=False Status code: 65280 Command output: Liquibase update Failed: Migration failed for change set db/changelog/20161025100925-remove-unique-content-name-constraint.xml::20161025100925-1::awood: Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE public.cp_content DROP CONSTRAINT cp_content_label_key: ERROR: constraint "cp_content_label_key" of relation "cp_content" does not exist Migrating candlepin database Traceback (most recent call last): File "/usr/share/candlepin/cpdb", line 245, in <module> dbsetup.update() File "/usr/share/candlepin/cpdb", line 69, in update self._run_liquibase("db/changelog/changelog-update.xml") File "/usr/share/candlepin/cpdb", line 92, in _run_liquibase self.community)) File "/usr/share/candlepin/cpdb", line 38, in run_command error_out(command, status, output) File "/usr/share/candlepin/cpdb", line 46, in error_out raise Exception("Error running command") Exception: Error running command [ERROR 2016-11-03 14:04:38 verbose] ########## 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=UwAUXGvbHF3xAQcDeNsXSLah5bo5DoSb migrate -Dcommunity=False Status code: 65280 Command output: Liquibase update Failed: Migration failed for change set db/changelog/20161025100925-remove-unique-content-name-constraint.xml::20161025100925-1::awood: Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE public.cp_content DROP CONSTRAINT cp_content_label_key: ERROR: constraint "cp_content_label_key" of relation "cp_content" does not exist Migrating candlepin database Traceback (most recent call last): File "/usr/share/candlepin/cpdb", line 245, in <module> dbsetup.update() File "/usr/share/candlepin/cpdb", line 69, in update self._run_liquibase("db/changelog/changelog-update.xml") File "/usr/share/candlepin/cpdb", line 92, in _run_liquibase self.community)) File "/usr/share/candlepin/cpdb", line 38, in run_command error_out(command, status, output) File "/usr/share/candlepin/cpdb", line 46, in error_out raise Exception("Error running command") Exception: Error running command Upgrade step migrate_candlepin failed. Check logs for more information. what is the recommended approach to resolve it?
closing a bunch of old bugs from before the candlepin process changed to move to closed-currentrelease