Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2123696 - The Value of "Allowed bootdisk types" shows up as subnetfull_host where as it is set as subnet,full_host in Satellite 6.12
Summary: The Value of "Allowed bootdisk types" shows up as subnetfull_host where as it...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Settings
Version: 6.12.0
Hardware: All
OS: All
unspecified
low
Target Milestone: 6.13.0
Assignee: Ron Lavi
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-02 10:56 UTC by Sayan Das
Modified: 2023-05-03 13:21 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman_bootdisk-21.0.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:21:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
6.11 UI view (8.70 KB, image/png)
2022-09-02 10:59 UTC, Sayan Das
no flags Details
6.12 UI view (7.90 KB, image/png)
2022-09-02 10:59 UTC, Sayan Das
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35794 0 Normal New The Value of "Allowed bootdisk types" shows up as subnetfull_host where as it is set as subnet,full_host in Satellite 6.... 2022-11-28 08:51:28 UTC
Red Hat Issue Tracker SAT-13802 0 None None None 2022-12-18 11:08:22 UTC
Red Hat Issue Tracker SAT-13933 0 None None None 2022-12-18 11:27:58 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:21:59 UTC

Description Sayan Das 2022-09-02 10:56:05 UTC
Description of problem:

In Administer --> Settings --> Boot Disk page, The Value of "Allowed bootdisk types" shows up as subnetfull_host where as it is set as subnet,full_host in Satellite 6.12 

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

Satellite 6.12


How reproducible:

Always


Steps to Reproduce:
1. Install a Satellite 6.12

2. Go to Administer --> Settings --> Boot Disk page and check the value of "Allowed bootdisk types"


Actual results:

It shows up as "subnetfull_host" whereas if we edit the value, we will be able to see that it is set as "subnet,full_host"


Expected results:

UI should show the Value properly.


Additional info:

It 's a regression as in 6.11, it used to show up like this in UI,

[subnet, full_host]

whereas backend value set was -> subnet,full_host

This looks much better than how we display in in 6.12

Comment 1 Sayan Das 2022-09-02 10:59:09 UTC
Created attachment 1909182 [details]
6.11 UI view

Comment 2 Sayan Das 2022-09-02 10:59:45 UTC
Created attachment 1909183 [details]
6.12 UI view

Comment 3 Leos Stejskal 2022-09-08 13:17:05 UTC
Hi,
I did some investigation, still don't know why it's happening, but about reproducing:

* It works on latest versions (foreman, foreman_theme_satellite, foreman_bootdisk)
* It doesn't work on Sat-6.12 versions (foreman-3.3, foreman_bootdisk-19.0-stable)
* foreman_satellite_theme doesn't have affect on the behavior

The issue is only in the UI, value of Setting[:bootdisk_allowed_types] is correctly saved in DB: ["subnet", "full_host"].

Since the issue is only UI, and it will be fixed in Sat 6.13, I propose to remove it from the Sat-6.12 scope,
we don't have much time before the GA and there are other issues that require our attention more.

@saydas Are you okay with postponing it to 6.13?

Comment 4 Sayan Das 2022-09-08 13:21:08 UTC
Hello Yes. It's not causing any impact. It's just a weird UI glitch. I am fine with having it fixed in 6.13.

Comment 5 Ron Lavi 2022-11-28 08:51:27 UTC
Created redmine issue https://projects.theforeman.org/issues/35794 from this bug

Comment 6 Bryan Kearney 2022-12-20 16:03:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35794 has been resolved.

Comment 7 Shweta Singh 2023-01-18 14:27:44 UTC
Verified.

Version Tested: Satellite 6.12 Snap 6.0

Verification Steps:
1. Navigate to Menu --> Administer --> Settings
2. Click on tab Boot disk.
3. Verify value of "Allowed bootdisk types" is in correct format.

Result:
Value of "Allowed bootdisk types" is [subnet,full_host].

Comment 10 errata-xmlrpc 2023-05-03 13:21:46 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.13 Release), 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:2097


Note You need to log in before you can comment on or make changes to this bug.