Title: Volume client honor set region by erichelgeson · Pull Request #2 · openstack/python-openstackclient · GitHub
Open Graph Title: Volume client honor set region by erichelgeson · Pull Request #2 · openstack/python-openstackclient
X Title: Volume client honor set region by erichelgeson · Pull Request #2 · openstack/python-openstackclient
Description: This patch fixes Volume region selection the same as Compute was fixed in https://bugs.launchpad.net/python-openstackclient/+bug/1405416 I do not have access to identity or object stores, so I can not verify that they are affected, but if they are, the same patch should apply to their client.py. diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index daf24e1..d10d046 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -49,6 +49,7 @@ def make_client(instance): LOG.debug('Using auth plugin: %s' % instance._auth_plugin) client = identity_client( session=instance.session, + region_name=instance._region_name, ) return client diff --git a/openstackclient/object/client.py b/openstackclient/object/client.py index beb7c04..d967cf4 100644 --- a/openstackclient/object/client.py +++ b/openstackclient/object/client.py @@ -42,6 +42,7 @@ def make_client(instance): session=instance.session, service_type='object-store', endpoint=endpoint, + region_name=instance._region_name, ) return client
Open Graph Description: This patch fixes Volume region selection the same as Compute was fixed in https://bugs.launchpad.net/python-openstackclient/+bug/1405416 I do not have access to identity or object stores, so I can ...
X Description: This patch fixes Volume region selection the same as Compute was fixed in https://bugs.launchpad.net/python-openstackclient/+bug/1405416 I do not have access to identity or object stores, so I can ...
Opengraph URL: https://github.com/openstack/python-openstackclient/pull/2
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:c1814b15-dbf1-9106-8c3d-7149192053e3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8656:1AE93D:48F3CE:5F08CA:696D2253 |
| html-safe-nonce | 018ad1a7682de8c3bc7cb93fcb97ed70bc77b204437dbc2b5002b7acf82ca534 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjU2OjFBRTkzRDo0OEYzQ0U6NUYwOENBOjY5NkQyMjUzIiwidmlzaXRvcl9pZCI6Ijc3NTA0ODAxNTYyNzQwMDg2NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8177bc26b5fa6f1abcd5b9738bc0936306eb4fa87a529bd5f3d8c2d1a15c37d6 |
| hovercard-subject-tag | pull_request:27731087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/openstack/python-openstackclient/pull/2/checks |
| twitter:image | https://avatars.githubusercontent.com/u/271734?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/271734?s=400&v=4 |
| og:image:alt | This patch fixes Volume region selection the same as Compute was fixed in https://bugs.launchpad.net/python-openstackclient/+bug/1405416 I do not have access to identity or object stores, so I can ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0944e430045f4fb5f7bd103e0660080acfe593174063212555773ca41c144a14 |
| turbo-cache-control | no-preview |
| go-import | github.com/openstack/python-openstackclient git https://github.com/openstack/python-openstackclient.git |
| octolytics-dimension-user_id | 324574 |
| octolytics-dimension-user_login | openstack |
| octolytics-dimension-repository_id | 4170310 |
| octolytics-dimension-repository_nwo | openstack/python-openstackclient |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4170310 |
| octolytics-dimension-repository_network_root_nwo | openstack/python-openstackclient |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 66b6e773801d28660016072069017cfcc851f54b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width