From 89100368b50e9377bf4e587c091fcc03609f8fe0 Mon Sep 17 00:00:00 2001 From: KATO Tomoyuki Date: Wed, 22 Mar 2017 00:05:07 +0900 Subject: [PATCH] [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 --- bin/doc-tools-update-cli-reference | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/doc-tools-update-cli-reference b/bin/doc-tools-update-cli-reference index 9c224ae1..e9433ab2 100755 --- a/bin/doc-tools-update-cli-reference +++ b/bin/doc-tools-update-cli-reference @@ -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