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: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:af9cf4a2-7d28-8ae8-103c-518421d305ab |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E20E:10CDF5:A41C46:D7CFDD:69762D6A |
| html-safe-nonce | f31a3f19ac463f84ff46d89f7e01efa8b57956fdb386199cc3d1ff0e46b80b0e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjBFOjEwQ0RGNTpBNDFDNDY6RDdDRkREOjY5NzYyRDZBIiwidmlzaXRvcl9pZCI6IjQ3MTY0NzE2MjQ1NTE3NDUwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e4502826f1f415e38164551b145b0325957bf11b0412265ac75ecc7b1bde0377 |
| 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 | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width