Glance image-create command should use --os-image-api-version 1 flag
for the is-public argument.
JIRA: YARDSTICK-68
Change-Id: I43a60a7dac186ae7c586aa98b6e5de9821caee60
Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com>
(cherry picked from commit
136762959413c038d2527c11efa8904c135f9278)
Example command:
::
- glance image-create --name yardstick-trusty-server --is-public true \
+ glance --os-image-api-version 1 image-create \
+ --name yardstick-trusty-server --is-public true \
--disk-format qcow2 --container-format bare \
--file /tmp/workspace/yardstick/yardstick-trusty-server.img