Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-27451

Unable to review or render the "Discovery Red Hat kexec" when accessing from new Hosts UI

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Moderate
    • To Do
    • None

      Description of problem:

      When trying to check the rendered content of Discovery Red Hat kexec template, from Provisioning Templates card in the Details tab of a Host in the new Hosts UI, It says Something went wrong and shows a React error

       

      How reproducible:

      100%

       

      Is this issue a regression from an earlier version:

      Not sure but the same problem exists on 6.14.4 as well. 

       

      Steps to Reproduce:

      1. Submit a fake baremetal-host build from satellite webUI or hammer

      2. Hosts -> All Hosts --> Click open the Host --> Details --> Provisioning Templates card --> Click on "Discovery Red Hat kexec" 

       

      Actual behavior:

      Please see the attached screenshot

      The trace shows something like this i.e. 

      Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bkernel%2C%20initram%2C%20append%2C%20extra%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
          in pre
          in div
          in ClipboardCopyExpanded
          in GenerateId
          in div
      ..
      ..
      Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bkernel%2C%20initram%2C%20append%2C%20extra%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
          in pre
          in div
          in ClipboardCopyExpanded
          in GenerateId
          in div 

      But if we go to Hosts --> Provisioning Templates -> Open the Same template and Review it against the same host, It works without any errors. 

       

      Expected behavior:

      No such errors for any templates at all.

       

      Business Impact / Additional info:

      Due to the nature of the error, A user falsely assumes that something is wrong with their discovery template maybe and leads the investigation in an unwanted direction. The error is not harmful but it definitely is a UI flaw and a very irritating one, as it blocks me to see the rendered content of the discovery template when investigating some issues for a host. 

              Unassigned Unassigned
              rhn-support-saydas Sayan Das
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: