Bug 872334
Summary: | existing orgs do not get default value for system_info_keys in database | ||
---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | Adam Price <adprice> |
Component: | katello | Assignee: | Katello Bug Bin <katello-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.2 | CC: | gkhachik, jomara, omaciel, tomckay |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 870456 | Environment: | |
Last Closed: | 2013-02-21 19:18:36 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: | 870456 | ||
Bug Blocks: | 816564 |
Description
Adam Price
2012-11-01 20:03:28 UTC
this was caused by having an organization that existed prior to the migration that added Organization's system_info_keys. to verify: 1. Create an organization prior to the existence of system_info_keys. 2. migrate the db to add org system_info_keys 3. check to see if pre-existing org has system_info_keys = [] (should not be nil) To verify this, first install 1.0 or 1.1 and create an org. Then upgrade to 1.2. The verification itself is via cli. Before the update: ------------------ # headpin -u admin -p admin org info --name SAMQE ----------------------------------------------------------------------------------------------------- Organization Information ----------------------------------------------------------------------------------------------------- Id: 2 Name: SAMQE Description: After the update: ----------------- # headpin -u admin -p admin org info --name SAMQE----------------------------------------------------------------------------------------------------- Organization Information ----------------------------------------------------------------------------------------------------- Id : 2 Name : SAMQE Description: Available Service Levels: Premium Default System Info Keys: [ ] Verified: * candlepin-0.7.19-1.el6_3.noarch * candlepin-tomcat6-0.7.19-1.el6_3.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.2.1-1h.el6_3.noarch * katello-cli-1.2.4-2h.el6_3.noarch * katello-cli-common-1.2.4-2h.el6_3.noarch * katello-common-1.2.6-2h.el6_3.noarch * katello-configure-1.2.3-1h.el6_3.noarch * katello-glue-candlepin-1.2.6-2h.el6_3.noarch * katello-headpin-1.2.6-2h.el6_3.noarch * katello-headpin-all-1.2.6-2h.el6_3.noarch * katello-selinux-1.2.1-1h.el6_3.noarch * thumbslug-0.0.27-1.el6_3.noarch * thumbslug-selinux-0.0.27-1.el6_3.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/RHSA-2013-0544.html |