Bug 2049799
Summary: | Incremental update with --propagate-all-composites makes new CVV but with no new content | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ian Ballou <iballou> |
Component: | Content Views | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | Griffin Sullivan <gsulliva> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.10.0 | CC: | ahumbe, ehelms, gsulliva, pcreech, sbible |
Target Milestone: | 6.11.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-4.3.0.38-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:32:43 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
Ian Ballou
2022-02-02 17:43:44 UTC
Created redmine issue https://projects.theforeman.org/issues/34383 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34383 has been resolved. Failed ON QA for 6.11 snap 18.5 on RHEL 7 Incremental update with --propagate-all-composites does not add packages to composite content view. Steps to Reproduce: 1. Sync some repo 2. Create two component CVs with filters to remove some content and publish 3. Create a composite CV that uses only the version published in step (2) 4. Incrementally update a component CV version from step 2 with --propagate-all-composites=true Expected Results: Content added from incremental update on component CV should be added to composite CV. Actual Results: Content was only added to the component CV but not the composite. # hammer content-view version incremental-update --propagate-all-composites=true --content-view-version-id 11 --errata-ids RHEA-2012:0002 [.........................................................................................] [100%] Content View: componentcv version 1.1 Added Content: Errata: RHEA-2012:0002 Packages: bear-4.1-1.noarch dolphin-3.10.232-1.noarch lion-0.4-1.noarch penguin-0.9.1-1.noarch shark-0.1-1.noarch stork-0.12-2.noarch tiger-1.0-4.noarch whale-0.2-1.noarch wolf-9.4-2.noarch Content View: compositecv version 1.1 Added Content: I can also see in the UI that the composite CV does not have any new packages added to it, while the component CV does. Hi Griffin, Can you share with us what your CV filters and repositories were on the component CVs? And which CV versions you told the composite CV to use? Verified in 6.11 snap 21 on RHEL 7 --propagate-all-composites properly adds content and a new version to the composite content view. Steps to Reproduce: 1. Sync some repo 2. Create two component CVs with filters to remove some content and publish 3. Create a composite CV that uses only the version published in step (2) 4. Incrementally update a component CV version from step 2 with --propagate-all-composites=true Expected Results: Component and composite CVs get a new version and content from incremental update. Actual Results: Component and composite CVs get a new version and content from incremental update. Notes: Here's the output from my run: # hammer content-view version incremental-update --propagate-all-composites=true --content-view-version-id 2 --errata-ids RHEA-2012:0002 [................................................................................................................................] [100%] Content View: bear version 1.1 Added Content: Errata: RHEA-2012:0002 Packages: bear-4.1-1.noarch dolphin-3.10.232-1.noarch lion-0.4-1.noarch penguin-0.9.1-1.noarch shark-0.1-1.noarch stork-0.12-2.noarch tiger-1.0-4.noarch whale-0.2-1.noarch wolf-9.4-2.noarch Content View: compview version 1.1 Added Content: Errata: RHEA-2012:0002 Packages: bear-4.1-1.noarch dolphin-3.10.232-1.noarch lion-0.4-1.noarch shark-0.1-1.noarch stork-0.12-2.noarch tiger-1.0-4.noarch whale-0.2-1.noarch wolf-9.4-2.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 (Moderate: Satellite 6.11 Release), 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-2022:5498 |