Bug 1996490

Summary: Boot disk settings page under Administer -> Settings is blank
Product: Red Hat Satellite Reporter: Krutika Kinge <kkinge>
Component: SettingsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ahumbe, apatel, dmatoule, egolov, ifowler, mhulan, myarboro, tbrisker
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_theme_satellite-8.0.1.6-1 Doc Type: Known Issue
Doc Text:
Cause: The code contains an invalid default value type for the bootdisk_allowed_types setting Consequence: The list of the Bootdisk related settings is not displayed in the UI and therefore can't even be modified. Workaround (if any): Either users can use the hammer CLI, e.g. hammer setting list hammer setting list --search "name ~ bootdisk" hammer setting set --name bootdisk_grub2_dir --value /var/lib/custom Or they can fix the issue by setting some value through the console foreman-rake console Setting::Bootdisk[:bootdisk_allowed_types] = ['generic', 'subnet'] exit Result: The first workaround allows changing bootdisk related settings. The second fixes the UI issue completely until the value for bootdisk_allowed_types is restored to default.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:13:28 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 Krutika Kinge 2021-08-23 01:23:29 UTC
Description of problem:
The Boot disk settings page "Administer -> Settings -> Boot disk" is blank

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Satellite WebUI >> Administer >> Settings >> Boot disk

Actual results:
Boot disk settings page does not list the settings and shows a blank page

Expected results:
The Boot disk Settings page should list the Settings.

Additional info:

Comment 1 Dominik Matoulek 2021-08-31 12:24:42 UTC
I tried to reproduce it but I have no luck with that. 

What snap of Satellite 6.10 has occurred?

Comment 2 Evgeni Golov 2021-09-01 11:34:37 UTC
I can repro this on snap 15 (and 13 before that).

The console shows the following errors:



        react-dom.production.min.js:209 TypeError: t.value.join is not a function
            at f (SettingsTableHelpers.js:82)
            at t.defaultToString (SettingsTableHelpers.js:77)
            at SettingsTableHelpers.js:136
            at Array.reduce (<anonymous>)
            at SettingsTableHelpers.js:132
            at l (SettingCell.js:15)
            at Xa (react-dom.production.min.js:153)
            at vs (react-dom.production.min.js:261)
            at vl (react-dom.production.min.js:246)
            at gl (react-dom.production.min.js:246)
        ns @ react-dom.production.min.js:209
        n.callback @ react-dom.production.min.js:226
        fa @ react-dom.production.min.js:131
        ss @ react-dom.production.min.js:212
        (anonymous) @ react-dom.production.min.js:255
        t.unstable_runWithPriority @ scheduler.production.min.js:19
        Vo @ react-dom.production.min.js:122
        wl @ react-dom.production.min.js:248
        ll @ react-dom.production.min.js:239
        (anonymous) @ react-dom.production.min.js:123
        t.unstable_runWithPriority @ scheduler.production.min.js:19
        Vo @ react-dom.production.min.js:122
        Ko @ react-dom.production.min.js:123
        Uo @ react-dom.production.min.js:122
        ol @ react-dom.production.min.js:230
        enqueueSetState @ react-dom.production.min.js:132
        y.setState @ react.production.min.js:12
        (anonymous) @ i18nProviderWrapperFactory.js:19
        Promise.then (async)
        m @ i18nProviderWrapperFactory.js:18
        ba @ react-dom.production.min.js:134
        Ri @ react-dom.production.min.js:176
        vs @ react-dom.production.min.js:263
        vl @ react-dom.production.min.js:246
        gl @ react-dom.production.min.js:246
        ll @ react-dom.production.min.js:239
        ol @ react-dom.production.min.js:230
        Wl @ react-dom.production.min.js:281
        (anonymous) @ react-dom.production.min.js:284
        dl @ react-dom.production.min.js:240
        Xl @ react-dom.production.min.js:284
        t.render @ react-dom.production.min.js:290
        h @ MountingService.js:22
        value @ MountingService.js:86
        value @ MountingService.js:69
        SettingsTableHelpers.js:82 Uncaught (in promise) TypeError: t.value.join is not a function
            at f (SettingsTableHelpers.js:82)
            at t.defaultToString (SettingsTableHelpers.js:77)
            at SettingsTableHelpers.js:136
            at Array.reduce (<anonymous>)
            at SettingsTableHelpers.js:132
            at l (SettingCell.js:15)
            at Xa (react-dom.production.min.js:153)
            at vs (react-dom.production.min.js:261)
            at vl (react-dom.production.min.js:246)
            at gl (react-dom.production.min.js:246)

Comment 3 Tomer Brisker 2021-09-01 11:46:52 UTC
Looks like this was caused by the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1940832

Comment 12 Shweta Singh 2021-10-08 08:01:17 UTC
Verified "Boot disk Settings page" is not blank and displays all boot settings on Satellite 6.10, snap 22.

Steps to test:
- Provision Satellite 6.10 from the latest snap.
- Navigate to Satellite WebUI >> Administer >> Settings >> Boot disk.
- Verify the boot disk page.

Expected Result:
The Boot disk Settings page should list the Settings.

Actual Result:
The Boot disk Settings page should list the Settings.

Comment 15 errata-xmlrpc 2021-11-16 14:13:28 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 (Moderate: Satellite 6.10 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-2021:4702