yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83218
[Bug 1886537] [NEW] Missing parameters in python-glanceclient image-import command documentation
Public bug reported:
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
** Affects: glance
Importance: Undecided
Status: New
** Tags: documentation
--
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:
New
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/glance/+bug/1886537/+subscriptions
Follow ups