Bug #33581
closedEdit hosts page not reflecting correct selections.
Description
1. Create a CV called RHEL7 with only a RHEL 7.9 kickstart repository and promote to an Environment called CYCLE-A
2. Create a CV called RHEL8 with only a RHEL 8.3 BaseOS\Appstream kickstart repository and Promote to and environment called CYCLE-B.
3. Create a hostgroup called "Blank" with * NO * CV\LCE\Content Source\OS selected. You can add puppet modules and select puppet\ansible related stuff in this hostgroup.
4. Create a hostgroup called "RHEL" which is child of "Blank" and have "RHEL7" selected as CV and CYCLE-A selected as LCE, content source selected as Satellite, in OS page, correct media selection/synced media/OS/arch selected for RHEL 7.9.
5. Now create a host with the "RHEL" hostgroup but manually change the CV\LCE to RHEL8\CYCLE-B and in OS tab, manually select correct media selection/synced media/OS/arch for RHEL8. Submit the changes and now the host should be in build mode.
6. Edit back the host,
Expected:
I should see the Rhel 8 cv.
Actual:
- On the first page, The CV has switched back to RHEL7 whereas we had selected RHEL8 CV at step 5. And the same goes for LCE i.e. it got switched back to CYCLE-B.
- Go to OS tab and we will see that,
--> OS itself is selected the same we had set at Step 5 during host creating. So this part is still good But,
--> Media Selection is moved to "All Media" and is greyed out .
--> No "Synced Media" Selected.
Updated by The Foreman Bot almost 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/9678 added
Updated by Partha Aji almost 3 years ago
- Bugzilla link changed from 1685708 to 1996371
Updated by Partha Aji almost 3 years ago
Part 2 of this bug will be addressed by https://projects.theforeman.org/issues/33591
Updated by Partha Aji almost 3 years ago
- Related to Bug #33591: Wrong kickstart repo shown in Edit Host page added
Updated by James Jeffers almost 3 years ago
- Target version set to Katello 4.2.1
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Partha Aji almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|403b0cd1051632d563f61ba72f329f028005adff.