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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.