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

[ROSA wizard][Edit YAML] YAML cluster submission without oidc config id resulted ROSA Hosted cluster installation state in waiting forever

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False

      Description of the Problem

      The user has launched a ROSA hosted wizard flow , updated all required valid definitions from each step and finally reached to "Review and create" step. The user clicked "Edit YAML" option and removed the oidc-config and id key and value then tried to create the cluster.

      Cluster installation was initiated from UI without any error from backend about the missing definition and cluster installation state is in waiting forever and never proceeded or thrown any error to user about this missing definition.

      Hence it looks like we must need some way to control missing  mandatory definition from yaml definition and followed cluster submissions. I'm not sure if there is always a way to capture or block the cluster submission from preflight check from backend  in above or similar situations.

      see the recording attached Screencast from 2024-10-17 12-13-47.mp4

      How reproducible:

      always

      Steps to Reproduce:

      1. Open OCM UI staging 
      2. Launch ROSA wizard(hosted flow).
      3. Fill all required definitions from each step and reach to "Review and create" page.
      4. Click "Edit YAML" button.
      5. Remove oidc-config key including the id key and its value pair from the YAML.
      6. Click "Create cluster" button
      7. See the behavior.

      Actual results:

      The cluster creation initiated without any error although mandatory oidc-config definition is missing. The cluster installation status is in waiting forever from UI.

      Expected results:

      The cluster installation initiation should be blocked during the cluster submission when the oid-config definition is missing. This could be done in following way (suggestions ony)

      1. Take care via YAML validation on  mandatory fields during cluster submission.
      2. Explicit check from UI on missing definition and throw error dialog to user about the same during submission.
      3. Depend on preflight check from OCM backend about missing definition and throw the error to user during cluster submission.

              emingora Enrique Mingorance Cano
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: