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

[OSD wizard][Private service connect] Type error seen in networking step when user switch between authentication types.

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

      None

      Show
      None
    • False

      Description of the Problem

      User has initially chosen the authentication type as "Workload identity federation" and reached to Networking configuration step then enabled the cluster privacy as "private". Proceeded to next step i.e. VPC settings then decided to change the authentication type to service account. Went back to initial screen using back button from wizard and changed the  authentication type as "service account". The type error has been reported in networking configuration step once user reaches to the same step.

      Type error from browser console as below

      console.js:36  TypeError: Cannot read properties of null (reading 'raw_id')
          at Zn (Configuration.tsx:74:83)
          at bi (chrome-root.f80f7d23ee89a6e8.js:2:197413)
          at Sl (chrome-root.f80f7d23ee89a6e8.js:2:256728)
          at vs (chrome-root.f80f7d23ee89a6e8.js:2:245880)
          at ys (chrome-root.f80f7d23ee89a6e8.js:2:245808)
          at bs (chrome-root.f80f7d23ee89a6e8.js:2:245671)
          at os (chrome-root.f80f7d23ee89a6e8.js:2:242478)
          at ls (chrome-root.f80f7d23ee89a6e8.js:2:242867)
          at za (chrome-root.f80f7d23ee89a6e8.js:2:183766)
          at chrome-root.f80f7d23ee89a6e8.js:2:240415 

      See recording details Screencast from 2024-11-05 19-35-15.mp4

      How reproducible:

      always

      Steps to Reproduce:

      1. Open OCM UI staging.
      2. Open a OSD wizard flow( GCP cloud with CCS).
      3. Select authentication type as "Workload identity federation" from Cluster settings > Cloud provider step.
      4. Fill required definitions from each step and reach to "networking" step.
      5. Select cluster privacy as "private".
      6. Click "Next" button.
      7. Click "back" button multiple times until you reach the Cluster settings > Cloud provider step.
      8. Change the authentication type as "service account" and fill all required values.
      9. Click "Next" multiple times and reach "Networking" step
      10. See the behavior.

      Actual results:

      At step 9, The wizard broken with type error as mentioned above.

              zherman Zac Herman
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: