summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Wienand <iwienand@redhat.com>2020-03-24 15:24:59 +1100
committerIan Wienand <iwienand@redhat.com>2020-03-24 18:39:11 +1100
commit38a44e7ebeead6c086374d80f25d135618380faa (patch)
tree35e36154636aa608abe0a5abe6a11d656cbacf6d /doc
parent7e8d5ca15a655f9d706c36e4bb3a7ede53f4b03e (diff)
downloadpython-cinderclient-38a44e7ebeead6c086374d80f25d135618380faa.tar.gz
Pass os_endpoint to keystone session
The os_endpoint should be passed to the keystone session as the endpoint_override argument. This is particularly imprtant for talking to Rackspace, who seem to have an odd situation where the endpoint is V2 compatible [1], but the API is still at /v1/ [2] (i think?). To use the RAX API you need to find your account number, then something like: OS_USERNAME=xyz OS_PASSWORD=abc OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/ OS_VOLUME_API_VERSION=2 CINDER_ENDPOINT=https://dfw.blockstorage.api.rackspacecloud.com/v1/<account#> cinder volume list Should work Honestly I'm not 100% what's up with the unit test. I think endpoint override was not being processed previously, and now it is so it drops the "admin"? Story: #2007459 Task: #39138 [1] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/cbsv1-methods-vs-cinderv2-methods/ [2] https://developer.rackspace.com/docs/cloud-block-storage/v1/general-api-info/service-access/ Change-Id: I6b9a1f088c84676ddf9894cf9524d3239f3cf3a9
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions