Hide Forgot
Description of problem: When trying to create an incremental update to a Content View (CV) version, applying some errata, it requires the environments to be listed where the version is, whereas there are cases where the CV version only lives in the Library or doesn't live in any Life Cycle Environment (LCE). Version-Release number of selected component (if applicable): 6.1.7 How reproducible: Always Steps to Reproduce: 1. $ hammer content-view version incremental-update --content-view-version "xxx" --errata-ids yyy Actual results: The command fails. Expected results: The command succeeds and just applies the given errata(s) to the given CV version and creates a new CV minor version. Additional info: My use case: LCEs are Library, Test, Prod CV v1, v2 and v3 are in the Library (because CVa is never used directly, only through CCV) CV v1 is used by CCV (Composite CV) in v10 promoted to Prod CV v2 is used by CCV in v11 promoted to Test CV v3 is used by CCV in v12 only published in Library I want now to: - add errata to CV v1, v2 and v3 generating v1.1, v2.1 and v3.1 - update CCV v10 to v1.1, CCV v11 to v2.1 and CCV v12 to v3.1 at a later stage Note that CV might be used by other CCVs, but I don't think that's relevant here.
Created redmine issue http://projects.theforeman.org/issues/14439 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/14439 has been closed ------------- Justin Sherrill Applied in changeset commit:hammer-cli-katello|3a56a55a7ddc1f2aad4b9a061aff77204dfed18c.
Created attachment 1162455 [details] The incremental update succeeds and creates new minor version. Verified in snap 13.1
Verified in Satellite 6.2 Beta Snap 13. [root@rhsm-qe-1 ~]# hammer content-view version incremental-update --content-view-version-id 12 --errata-ids fc451f1d-558a-4f48-8618-440099a4fb6b [....................................................................................................................................................................................] [100%] Content View: new version 2.1 Added Content: Errata: RHEA-2012:7947
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