Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-2850

IBM CLoud :Support to region-aware service URL using IBM Cloud VPC V1 API

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Installer
    • False
    • None
    • False
    • Not Selected
    • 0
    • 0% 0%

      This request is coming from IBM research team who is working on building AI cloud on openshift on IBM cloud . Please reach out to gausingh@redhat.com for follow up  

       

      The current ibmcloud vpc client instance always uses default url to get available machine profiles (e.g. bx2-4x16), but the available profile list might differ depending on the region, so the client instance should also be aware of region. The default region is us-south, and installer always fails when we want to use a profile that is only available in us-east region, for example.  Installer config includes the region information, but it is not used for creating client instance.

       

      The current client code is here. We can update sevice url after creating the client, but never updated.  

      https://github.com/openshift/installer/blob/master/pkg/asset/installconfig/ibmcloud/client.go#L440-L453

       

      While reading installer code, I came up with the fix, so I quickly created a patch to improve installer code to support region awareness. I think there are several implementation options to support region awareness, but I made this fix with minimal changes.  Also it is helpful to understand what problems there are.

      https://github.com/tatsuhirochiba/installer/commit/b91f2ed17c3aa5a1ce394ad91f3e1e6527a71016

            mak.redhat.com Marcos Entenza Garcia
            gausingh@redhat.com Gaurav Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: