Project

General

Profile

Actions

Bug #38112

open

Display LCEs in order of LCE Path in GUI CV Page and hammer for Content View

Added by Pavan Soma Shekar 5 days ago. Updated 5 days ago.

Status:
Ready For Testing
Priority:
Low
Category:
Lifecycle Environments
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Problem Statement

When we publish and promote a content view, after selecting multiple LCE , the promote process follows the Path of the LCE in order. Like Library > Dev > Prod.

Occasionally it happens after promotion completes, in GUI or in Hammer , it does not display the LCEs in order. Like it shows Dev , Library, Prod, instead of Library, Dev, Prod.

User Experience & Workflow

For example, here is the data from CU environment:

hammer lifecycle-environment list
--|--------------------|---------------
ID | NAME | PRIOR
--|--------------------|---------------
1 | Library |
31 | nonprod | Library
56 | nonprod_hosting | Library
47 | nonprod_keno | Library
33 | preprod | nonprod
57 | preprod_hosting | nonprod_hosting
48 | preprod_keno | nonprod_keno
34 | prod | preprod
58 | prod_hosting | preprod_hosting
49 | prod_keno | preprod_keno

hammer content-view info --id 88
Id: 88
Name: CCV_hosting_rhel7
Label: CCV_hosting_rhel7
Composite: true
Description:
Content Host Count: 3
Solve Dependencies: false
Organization: TLC
Yum Repositories:
Lifecycle Environments:
Id: 58
Name: prod_hosting

Id:   1
Name: Library
Id:   56
Name: nonprod_hosting
Id:   57
Name: preprod_hosting
Versions:

hammer content-view version list --content-view-id 88
---|----------------------|-------|------------------------------------------|-------------------------------------------------------
ID | NAME | VERSION | DESCRIPTION | LIFECYCLE ENVIRONMENTS
---|----------------------|-------|------------------------------------------|-------------------------------------------------------
820 | CCV_hosting_rhel7 30.0 | 30.0 | | prod_hosting, Library, nonprod_hosting, preprod_hosting
---|----------------------|-------|------------------------------------------|-------------------------------------------------------
As you can see here, the first LCE it shows is Prod_hosting and then Library. Usually the Library always comes first as by default every CV promoted to Library after publish.

In GUI also it shows similar. (attached the screenshot)

Because it does not happen often, so when it happens it creates confusion that something might went wrong during promotion as "prod_hosting" can not be promoted prior "Library".

If the list of LCE displayed according to the LCE Path (which shows during promotion) , this confusion can be avoided.

Requirements

Display list of LCEs according to LCE Path order in the CV page and in Hammer

Business Impact

While in terms of functionality , it still works as expected. However, due to this confusion, the user experience degrading. Here is a direct feedback from customer :

"This issue is unique to this Satellite instance, and frankly, it looks bad when viewing the GUI.

While I understand that the content is promoted properly, the lack of order in the display isn't acceptable. It leads to confusion and degrades the user experience. This needs further investigation because, in all my experience, environments always appear in a defined, logical sequence."

Actions

Also available in: Atom PDF