Bug 2232775

Summary: Unable to edit content view assignment in Satellite WebUI non-legacy view due to LCEs taking up space.
Product: Red Hat Satellite Reporter: Benjamin Kielhold <bkielhol>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Cole Higgins <chiggins>
Severity: high Docs Contact:
Priority: high    
Version: 6.13.0CC: ahumbe, akapse, brcoca, chiggins, jlenz, rlavi, tasander
Target Milestone: 6.14.0Keywords: Triaged, UserExperience, WorkAround
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2242909 (view as bug list) Environment:
Last Closed: 2023-11-08 14:20:20 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 Benjamin Kielhold 2023-08-18 18:07:47 UTC
Description of problem:
=======================
If there exists at least five life-cycle environments, attempting to move a host into a new LCE/CV using the Satellite's WebUI, not all content views are visible when attempting to select the desired CV. If the user attempts to type the name of the desired content view inside of the, `Select a content view` field, nothing is populated. 

Version-Release number of selected component (if applicable):
=============================================================
Satellite 6.13.0

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Login to Satellite UI
2. Create or verify there are atleast five life-cycle environments off of Library
3. Create two content views for testing 
4. Attempt to change a host to a content view other then `Default Organization View` using the new Satellite UI and not the `Legacy`.


Actual results:
==============
User is unable to select any content view below `Default Organization View` when using the non-legacy Satellite WebUI.

Expected results:
=================
After selecting the LCE, then clicking on the `select content view`, the `Edit content view assignment` window should be dynamic and resize according to the populated CVs instead of only showing `Default Organization View`.

  AND

The `Select content view` field within the `Edit content view assignment` window should be searchable.

Workaround:
===========
If the user holds CTRL + Mouse Scroll-wheel back, the page will zoom out thus showing the other content views present but at a base 100% zoom, the only present is the first (Default Organization View).

Additional Info:
================
The following command can be used as a workaround to complete the task of switching the CV for the host when executed on the Satellite's CLI:

       # hammer host update --name <Host_fqdn> --lifecycle-environment "ENV_NAME" --content-view "CV_NAME" --organization-id <ORG_ID>


Regards,
Benjamin

Comment 9 Jeremy Lenz 2023-09-28 18:44:04 UTC
*** Bug 2240053 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2023-11-08 14:20:20 UTC
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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818