image-create returns wrong error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Low
|
takmatsu | ||
Liberty |
In Progress
|
Low
|
takmatsu |
Bug Description
When set wrong credentials in glance-api.conf and not exist ~/.glanceclient
image-create returns unrecognized arguments.
ex)
$vim /etc/glance/
[keystone_
...
password = wrongpassword #set wrong password
...
$ sudo service glance-api restart
$ rm ~/.glanceclient
$ export OS_IMAGE_
$ wget -P /tmp/images http://
$ glance image-create --name "cirros-
usage: glance [--version] [-d] [-v] [--get-schema] [--timeout TIMEOUT]
glance: error: unrecognized arguments: --name --disk-format qcow2 --container-format bare --visibility public
Changed in glance: | |
assignee: | nobody → takmatsu (takeaki-matsumoto) |
Changed in glance: | |
importance: | Undecided → Low |
--visibility is used for image-list and namespace_list in api v2. You can not add it when create image.
When remove --visibility, I can't reproduce it.