[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:
KATO Tomoyuki 2017-03-22 00:05:07 +09:00
parent 4b6583d302
commit 89100368b5
1 changed files with 2 additions and 0 deletions

View File

@ -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