--disk-format option to `openstack image create` fails on older version of python-openstackclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charm Testing |
New
|
Undecided
|
Unassigned |
Bug Description
profiles/common includes a call to `openstack image create` like so:
openstack image show $image_name || {
openstack image create --public \
}
(lines 22-28; erroring flag option at <http://
While --disk-format is valid syntax for python-
Version tables:
$ rmadison python-
python-
python-
python-
python-
python-
python-
On a 14.04.5 Trusty box:
$ apt-cache policy python-
python-
Installed: 0.3.0-1ubuntu1
Candidate: 0.3.0-1ubuntu1
Version table:
*** 0.3.0-1ubuntu1 0
500 http://
100 /var/lib/
As a result, openstack errors out, and the configure script blows up:
+ openstack image create --public --container-
INFO: urllib3.
usage: openstack image create [-h] [-f {shell,table}] [-c COLUMN]
openstack image create: error: unrecognized arguments: --disk-format=qcow2
Trusty/
openstack --version && openstack image create 2>&1 | grep disk_format
openstack 0.3.0
As against Xenial/
$ openstack --version && openstack image create 2>&1 | grep disk-format
openstack 2.3.0
summary: |
--disk-format option to `openstack image create` fails on older version - of python-openstack-client + of python-openstackclient |
description: | updated |
description: | updated |