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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b06c8ec2-84f5-e158-9ebc-ad86a9308faa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A69A:338AF6:7396091:9700B31:696DA61D |
| html-safe-nonce | 0b210c0e70f8aace021fb3c625eb5104cba1fea2cd74a1554e6087ba93575766 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjlBOjMzOEFGNjo3Mzk2MDkxOjk3MDBCMzE6Njk2REE2MUQiLCJ2aXNpdG9yX2lkIjoiNTc3MTcyMTQ0NjYzOTExNzg1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9745a9b75a04eb4cc0c697937fda3895764e4c8ef9cce57c09671b57502f46cb |
| hovercard-subject-tag | pull_request:27731087 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width