Browse Source

[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
changes/45/448145/1
KATO Tomoyuki 4 years ago
parent
commit
89100368b5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      bin/doc-tools-update-cli-reference

+ 2
- 0
bin/doc-tools-update-cli-reference 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


Loading…
Cancel
Save