yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28394
[Bug 1420809] Re: Glance image-create help in CLI is not correct
Horizon is not a reliable source to verify what parameters are
mandatory, since it is another client (as python-glanceclient, i.e.
glance CLI) for the glance API.
The command glance client doesn't actually require any parameter (not
even an image name!) to process correctly, anyway in this case the image
is only "queued".
To have an image in the state "active" (i.e. actually created) it is
necessary to specify the source (--file for local source or --location
for URL), the disk format and the container format.
It may be arguable why Horizon doesn't allow to only queue an image or
why it forces to have a name for the created images, differently from
python-glanceclient, anyway in my opinion these are more implementation
choices than bugs.
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1420809
Title:
Glance image-create help in CLI is not correct
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
In Glance CLI help we can see parameter that are written as "optional" when they are mandatory.
I compare it with horizon WebUI dashboard and I saw which fields are mandatory .
to reproduce the bug in CLI run the command :
#glance help image-create
compare it with WebUI
Version
[root@puma15 ~(keystone_eran1)]# rpm -qa |grep glance
python-glanceclient-0.14.2-1.el7ost.noarch
openstack-glance-2014.2.1-3.el7ost.noarch
python-glance-2014.2.1-3.el7ost.noarch
python-glance-store-0.1.10-2.el7ost.noarch
[root@puma15 ~(keystone_eran1)]# rpm -qa |grep rhel
libreport-rhel-2.1.11-10.el7.x86_64
**Attatched screenshot - describe compare between CLI & WebUI
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1420809/+subscriptions
References