[cli-ref] add API version for cinder explicitly
Python-cinderclient does not use the latest Block Storage API. As work around, we need to set OS_VOLUME_API_VERSION environment variable explicitly so that we can generate all commands. Change-Id: I5de94f1fd5e8a4068cb7209062588eb6ade73fc8 Closes-Bug: #1673425
This commit is contained in:
parent
4b6583d302
commit
89100368b5
@ -65,6 +65,8 @@ fi
|
||||
rm -rf output
|
||||
mkdir output
|
||||
|
||||
# Work around until python-cinderclient use 3.latest as a default
|
||||
OS_VOLUME_API_VERSION=3.latest \
|
||||
openstack-auto-commands --output-dir output $project
|
||||
|
||||
if [[ ! -e openstack-manuals ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user