Bug 1487265
Summary: | Hammer composite content-view create/update with component-ids add only the first component of the list | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Djebran Lezzoum <dlezzoum> |
Component: | Content Views | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | akofink, bbuckingham, ehelms, nkathole |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:32: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: |
Description
Djebran Lezzoum
2017-08-31 14:01:57 UTC
The behavior described by this bz may have been introduced by https://github.com/Katello/katello/pull/6416. The behavior observed in 6.2 was incorrect. A composite content view should not have 2 versions of the same component view. That said, I agree with note 2 in the description and that Satellite should generate an error to the user. Created redmine issue http://projects.theforeman.org/issues/20995 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20995 has been resolved. VERIFIED Version Tested: Satellite-6.3 Snap 19 steps: # hammer content-view info --id=6 ID: 6 Name: test_view Label: test_view Composite: false Description: Content Host Count: 0 Organization: Default Organization Yum Repositories: 1) ID: 5 Name: sat6tool6 Label: sat6tool6 Docker Repositories: OSTree Repositories: Puppet Modules: Lifecycle Environments: 1) ID: 2 Name: DEV 2) ID: 1 Name: Library Versions: 1) ID: 7 Version: 1.0 Published: 2017/10/09 12:02:37 2) ID: 8 Version: 2.0 Published: 2017/10/09 12:03:50 Components: Activation Keys: # hammer --output=csv content-view create --composite --organization-id="1" --name="compositeCV" --component-ids="7,8" Could not create the content view: Validation failed: Content view components is invalid, Content view components is invalid As per comment #2 and note 2, Satellite generate an error to the user as above. But found another issue that UI shows another versions to add after adding same component view's version in composite content view.Here is the bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1499826 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/RHSA-2018:0336 |