yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83279
[Bug 1886537] Re: Missing parameters in python-glanceclient image-import command documentation
Thanks for pointing this out. I targeted it to python-glanceclient
instead of the service.
** Project changed: glance => python-glanceclient
** Changed in: python-glanceclient
Status: New => Triaged
** Changed in: python-glanceclient
Importance: Undecided => Medium
** Tags added: low-hanging-fruit
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1886537
Title:
Missing parameters in python-glanceclient image-import command
documentation
Status in Glance Client:
Triaged
Bug description:
Description
----------------
python-glanceclient documentation [0] for image-import command shows
just an optional parameter:
```
usage: glance image-import [--import-method <METHOD>]
<IMAGE_ID>
```
But in the actual CLI there're more parameters available:
```
$ glance help image-import
usage: glance image-import [--import-method <METHOD>] [--uri <IMAGE_URL>]
[--store <STORE>] [--stores <STORES>]
[--all-stores [True|False]]
[--allow-failure [True|False]]
<IMAGE_ID>
```
How to reproduce
------------------------
1. Open python-glanceclient image-import command documentation [0]
2. Check the params
Expected behavior
--------------------------
To have all the parameters documented
Actual behavior
----------------------
Parameters are missing, compared to an actual `glance help image-
import` command output.
[0] https://docs.openstack.org/python-
glanceclient/latest/cli/details.html#glance-image-import
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1886537/+subscriptions
References