Bug 914827
Summary: | New consumer types fail if they have imported a manifest which contains them | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | Bryan Kearney <bkearney> | ||||
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> | ||||
Status: | CLOSED ERRATA | QA Contact: | SAM QE List <sam-qe-list> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 1.3 | CC: | sthirugn, strobert, tomckay | ||||
Target Milestone: | rc | ||||||
Target Release: | 1.3 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-10-01 11:06:42 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: | 833466, 987696 | ||||||
Attachments: |
|
Description
Bryan Kearney
2013-02-22 22:11:50 UTC
As a workaround, I was able to: vi /var/lib/tomcat6/webapps/candlepin/WEB-INF/classes/db/changelog/changelog-update.xml and comment out (<!-- -->) the 20130212124537-insert-katello-consumer-types.xml line. *** Bug 984099 has been marked as a duplicate of this bug. *** Fixed in master at commit aa174e82cf1cdee80cfb3886d36c41340898dc75 Author: Bryan Kearney <bkearney> Date: Tue Jul 16 15:08:55 2013 -0400 914827: Do not insert new consumer types if they are already present. The manifest files pull down the latest consumer types. Therefore, the scripts which work on the install fail on an upgrade. This patch causes the inserts to be marked as having run if the content is already there. Since the two types were added at the same time, there is no need to test for both values Expect to see this in 0.8.18 or later. SNAP0 contains these bug fixes. Moving to ON_QA. Failed for the same reason as https://bugzilla.redhat.com/show_bug.cgi?id=983647#c6 Upgrade still fails. More info attached. Packages tested: * candlepin-0.8.20-1.el6sam.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.8.20-1.el6sam.noarch * candlepin-tomcat6-0.8.20-1.el6sam.noarch * elasticsearch-0.19.9-8.el6sat.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-2.el6sat.noarch * katello-cli-1.4.3-7.el6sat.noarch * katello-cli-common-1.4.3-7.el6sat.noarch * katello-common-1.4.3-8.el6sam_splice.noarch * katello-configure-1.4.4-2.el6sat.noarch * katello-glue-candlepin-1.4.3-8.el6sam_splice.noarch * katello-glue-elasticsearch-1.4.3-8.el6sam_splice.noarch * katello-headpin-1.4.3-8.el6sam_splice.noarch * katello-headpin-all-1.4.3-8.el6sam_splice.noarch * katello-selinux-1.4.4-2.el6sat.noarch * thumbslug-0.0.32-1.el6sam.noarch * thumbslug-selinux-0.0.32-1.el6sam.noarch Created attachment 787267 [details]
katello-upgrade error
VERIFIED. The liquibase error mentioned in this BZ is not happening anymore. But there is an other issue with upgrade which is tracked under BZ 998631 Packages tested: * candlepin-0.8.20-1.el6sam.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.8.20-1.el6sam.noarch * candlepin-tomcat6-0.8.20-1.el6sam.noarch * elasticsearch-0.19.9-8.el6sat.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-2.el6sat.noarch * katello-cli-1.4.3-7.el6sat.noarch * katello-cli-common-1.4.3-7.el6sat.noarch * katello-common-1.4.3-8.el6sam_splice.noarch * katello-configure-1.4.4-2.el6sat.noarch * katello-glue-candlepin-1.4.3-8.el6sam_splice.noarch * katello-glue-elasticsearch-1.4.3-8.el6sam_splice.noarch * katello-headpin-1.4.3-8.el6sam_splice.noarch * katello-headpin-all-1.4.3-8.el6sam_splice.noarch * katello-selinux-1.4.4-2.el6sat.noarch * thumbslug-0.0.32-1.el6sam.noarch * thumbslug-selinux-0.0.32-1.el6sam.noarch 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. http://rhn.redhat.com/errata/RHEA-2013-1390.html |