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

[Rosa Wizard] Create cluster - list regions filtered by Version and AWS credentials

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 5
    • True
    • Hide

      Need backend way to filtered regions for non-CCS without credentials.

      Show
      Need backend way to filtered regions for non-CCS without credentials.
    • False

      UPDATE:  This is a follow up to OCMUI-87 which filters OSD AWS CCS Regions by AWS Credential and selected Version, however for Rosa we do not gather credentials from the user.  oadler@redhat.com writes "Not sure what will be the best approach to get filtered regions for non-CCS without credentials."

      Beni wrote:

      UI now relies on data "for everyone" /api/clusters_mgmt/v1/cloud_providers/aws/regions
      In CCS mode, it should switch to use personal data which is
      /api/clusters_mgmt/v1/aws_inquiries/regions with CCS credentials.

      (We already call getAWSCloudProviderRegions() but currently we only use it for validation, we don't save the response)

      • OCMUI-87's main goal is filter supported regions by OCP version, and current backend MR will add that ability to aws_inquiries/regions endpoint which covers CCS scenarios.  Some additional API change might be needed to filter by version in non-CCS case, discussing on SDA-6667...
      • Showing opted-in regions is separate goal, only relevant for CCS.  I'm not certain if that should use aws_inquiries/regions or cloud_providers/aws/available_regions API or both.  I think we want separate ticket to track it, even if the implementation overlaps.

      Acceptance Criteria

      • For Rosa wizards
      • regions dropdown on Cluster details step should be filtered by selected Region.
      • If user changers credentials, UI must invalidate the regions response to trigger refetch with new credentials.

              Unassigned Unassigned
              dtaylor@redhat.com David Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: