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:
- Open OCM UI staging.
- Open a OSD wizard flow( GCP cloud with CCS).
- Select authentication type as "Workload identity federation" from Cluster settings > Cloud provider step.
- Fill required definitions from each step and reach to "networking" step.
- Select cluster privacy as "private".
- Click "Next" button.
- Click "back" button multiple times until you reach the Cluster settings > Cloud provider step.
- Change the authentication type as "service account" and fill all required values.
- Click "Next" multiple times and reach "Networking" step
- See the behavior.
Actual results:
At step 9, The wizard broken with type error as mentioned above.