Bug 1337746
Summary: | hammer content-view create fails when component-ids are specified | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Brad Buckingham <bbuckingham> |
Component: | Hammer | Assignee: | Brad Buckingham <bbuckingham> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | cwelton, ehelms, jyejare, lpramuk, mmccune |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-katello-3.0.0.61-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:15:27 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: | 1325124 |
Description
Brad Buckingham
2016-05-20 01:10:54 UTC
WORKAROUND: Create the composite content view and then update it to include the components. For example: content-view create --name test-ccv --organization-id 1 --composite --component-ids 2 content-view update --name test-ccv --organization-id 1 --component-ids 2 Per 6.3 planning, moving out non acked bugs to the backlog *** Bug 1355894 has been marked as a duplicate of this bug. *** This BZ blocks blocker+ BZ 1325124 so we should prioritize this BZ the same way as the blocked BZ. Created redmine issue http://projects.theforeman.org/issues/15678 from this bug Upstream Katello PR: https://github.com/Katello/katello/pull/6186 VERIFIED.
satellite-6.2.0-20.1.el7sat.noarch
1) # hammer content-view version list --organization-id 3
---|--------------------------------------------------------------|---------|-----------------------
ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS
---|--------------------------------------------------------------|---------|-----------------------
9 | Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 1.0 | 1.0 | Library
8 | RHN Tools for RHEL Server (v. 7 for x86_64) 1.0 | 1.0 | Library
7 | Default Organization View 1.0 | 1.0 | Library
---|--------------------------------------------------------------|---------|-----------------------
2) # hammer content-view create --name Composite1 --organization-id 3 --composite --component-ids 9
Content view created
3) # hammer content-view create --name Composite2 --organization-id 3 --composite --component-ids 8,9
Content view created
4) # hammer content-view info --name Composite1 -organization-id 3
ID: 8
Name: Composite1
...
Components:
1) ID: 9
Name: Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 1.0
...
5) # hammer content-view info --name Composite1 --organization-id 3
ID: 9
Name: Composite2
...
Components:
1) ID: 8
Name: RHN Tools for RHEL Server (v. 7 for x86_64) 1.0
2) ID: 9
Name: Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 1.0
>>> CCV creation with component id or with multiple components ids succeeds
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-2016:1501 |