Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2992

[ROSA][Day 2] Compute Node Instance Type's Select showing field is required even though a value is selected in the initial render

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Core UI
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Core Sprint 266, OCMUI Core Sprint 268, OCMUI Core Sprint 269, OCMUI Core Sprint 270, OCMUI Core Sprint 271

      Description of the problem:

      For a Ready ROSA cluster's cluster details page, on the Add Machine Pool modal, on the initial render there is an error specifying that the Compute Node Instance Type is a required field, even though a value is selected. 

      Steps to Recreate This Issue

      Day 2: Add Machine Pool Modal:

      1. Pick any Ready ROSA cluster and check its detail page, or create a new one and follow the process to make it a Ready cluster
      2. Navigate to "Machine Pools" tab and click on the "Add machine pool" button
      3. On the initial render of the Add Machine pool modal, You might find a "Compute node instance type is a required field." in red
      4. When one clicks on the Select component and chooses one of the values of the Select, they can notice the red error message is no longer visible.(This happens only on the initial render)

      Actual result:

      Expected result:
      This red warning / error should not show at all (in the initial render)

      How reproducible:

      Almost always

      Additional info:
      This bug might be causing an error in the implementation of the Windows LI feature, therefore blocking it. This is caused by the undefined value which is being injected through the component rendering the <MachineTypeSelection /> component. The name of the problematic value is:`forceChoiceInput`

      Screenshots & recordings:

      Day 2 - Add machine pool modal.mp4

              lkeren-ocm Lior Keren
              lkeren-ocm Lior Keren
              Aleš Pecha Aleš Pecha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: