-
Feature Request
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
None
-
False
-
Not Selected
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.
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