Why content view promotion to lifecycle environment facing error "Error: environment found more than once" on Red Hat Satellite 6 server?

Solution Verified - Updated -

Issue

  • When attempting to promote a content view into a lifecycle environment get the following error:

    # hammer lifecycle-environment list --organization 'org-name'
    ---|---------|--------
    
    ID NAME PRIOR
    4 DEV Library
    3 Library
    --- --------- --------
    # hammer content-view list --organization='org-name' ----------------|---------------------------|---------------------------|-----------|-------------------------
    CONTENT VIEW ID NAME LABEL COMPOSITE REPOSITORY IDS
    3 Default Organization View Default_Organization_View
    4 rhel-7-server-x86_64-cv rhel-7-server-x86_64-cv 3, 4, 12, 8, 5, 7, 1, 10
    ---------------- --------------------------- --------------------------- ----------- -------------------------
    # hammer content-view version promote --organization 'org-name' --lifecycle-environment "DEV" --id 4 Could not promote the content view: Error: environment found more than once

Environment

  • Red Hat Satellite 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content