-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
0
-
False
-
-
False
-
XCMSTRAT-589 - [Internal Preview] OCM console can connect to regional OCM instances to manage cluster lifecycle
-
-
-
0
-
ACM Console Sprint 263
Description of the Problem
In multiregion enabled env, User has opened a ROSA cluster and navigated to "Access control" tab > Identity providers section.User opened LDAP IDP form and filled all mandatory field definitions.(Note : All non mandatory fields were not attended and kept as it is). User tried to save the definition and reported the inline failure.
The same steps were tried with non multiregion env and the LDAP form successfully saved without any issue.
See the recording Screen Recording 2024-11-26 at 4.07.04 PM.mov
It looks like the issue reported from backend.However the issue likely to be in UI while constructing the payload definition send to the backend.
LDAP request payload from non-multiregion env
{"type":"LDAPIdentityProvider","name":"LDAP-1","id":null,"mapping_method":"claim","ldap":{"attributes":{"id":["hrll"],"email":[],"name":[],"preferred_username":[]},"url":"hello"}}
LDAP request payload from multiregion env
{"type":"LDAPIdentityProvider","name":"LDAP-2","mapping_method":"claim","ldap":{"attributes":{"id":["hello"],"email":[""],"name":[""],"preferred_username":[""]},"insecure":"","url":"hello","ca":""}}
Maybe it is sending "insecure" definition as string instead of boolean i.e. true or false by default.
How reproducible:
Always
Steps to Reproduce:
- Open OCM UI staging using https://console.dev.redhat.com/openshift/?multiregion=true
- Open a ready cluster.
- Click "Access control" tab > Click "Identity providers".
- Click "Add identity providers" > LDAP.
- Fill all required fields from the form (i.e LDAP url and id fields)
- Click "Add" button.
- See the behavior.
Actual results:
At step 7 , LDAP definition failed to save from UI due to above mentioned error.
Expected results:
At step 7 , LDAP definition should be successfully saved from UI without any error.
- blocks
-
OCMUI-1527 Data Sovereignty for the Cluster Details Page
- Review
- is depended on by
-
OCMUI-2524 Make the multiRegion version of cluster details the default version
- Review
- mentioned on