-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
True
-
False
-
HAC Console Sprint 244, OCM UI Sprint 244b, OCM UI Sprint 245, OCM UI Sprint 246, OCM UI Sprint 247, OCM UI Core Sprint 248, OCM Core Sprint 249
For AWS CCS clusters - Use the endpoint /api/clusters_mgmt/v1/aws_inquiries/regions to fetch regions filtered by OCP versions.

We have to pass the cluster's version id and aws credentials in order to get the filtered regions.
- We already call getAWSCloudProviderRegions() on 'OSD: Step 2: Select Cloud Provider', which calls listAWSRegions(awsCredentials, openshiftVersionId?), but currently we only use it for validation of AWS credentials entered, and we don't save the response.

- Also, I debugged and noticed 'openshiftVersionId' is undefined; which makes sense as user hasn't selected it at this step of the wizard!
- On OSD: Step 2: Cluster details, when user selects a Version, we will need to call getAWSCloudProviderRegions(awsCredentials, selectedVersionId) and adjust the Region dropdown directly underneath, disabling Versions which have {enabled: false} in the response (with disabled tooltip like 'Region not supported by selected Cluster version". Please see this breakdown.
This one follows up on https://issues.redhat.com/browse/SDA-6667.
Acceptance Criteria
- UI should hide (or disable) region ap-southeast-3 regions when cluster versions older than 4.10 is selected
(EDIT: or is it 4.11? seems backend is filtering it out for 4.10.x as well)
see: https://issues.redhat.com/browse/HAC-448
see: this breakdown. - For OSD CCS AWS clusters only.
[EDITED: -GCP- is out of scope, no filtering in backend yet]
OCMUI-957 tracks implementing this for the Rosa wizard.
- regions dropdown on Cluster details step should be filtered by selected cluster version
- If user changers credentials or cluster version, UI must invalidate the regions response to trigger refetch with new credentials and/or cluster version.
- is blocked by
-
OCMUI-820 ROSA wizard v2: Update v2 Cluster Settings - Details step for Rosa usage
-
- Closed
-
- is related to
-
OCMUI-957 [Rosa Wizard] Create cluster - list regions filtered by Version and AWS credentials
-
- To Do
-
-
HAC-448 [OCM-UI]It should hide region northamerica-northeast2 this option to customers till 4.10 is supported
-
- Closed
-
- mentioned on
(7 mentioned on)