help info of "glance location-add" is unclear

Bug #1535220 reported by hgangwx on 2016-01-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Medium
Kairat Kushaev
Liberty
Undecided
Unassigned

Bug Description

[Summary]
help info of "glance location-add" is unclear

[Topo]
devstack all-in-one node

[Description and expect result]
should be <IMAGE_ID> in help info of "glance location-add"

[Reproduceable or not]
reproduceable

[Recreate Steps]
1) there is <ID> in help info of "glance location-add", should be <IMAGE_ID>:
stack@45-59:~/devstack$ glance location-add
usage: glance location-add --url <URL> [--metadata <STRING>] <ID> >>>>ISSUE
glance location-add: error: too few arguments
stack@45-59:~/devstack$

2) see help info of "glance member-create" for reference:
stack@45-59:~/devstack$ glance member-create
usage: glance member-create <IMAGE_ID> <MEMBER_ID>
glance member-create: error: too few arguments
stack@45-59:~/devstack$

3)same issue for "glance location-delete/update"

[Configration]
reproduceable bug, no need

[logs]
reproduceable bug, no need

[Root cause anlyze or debug inf]
reproduceable bug

[Attachment]
None

Kairat Kushaev (kkushaev) wrote :

The bug is also applicable to location-update and location-delete.

Changed in python-glanceclient:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Kairat Kushaev (kkushaev)

Fix proposed to branch: master
Review: https://review.openstack.org/270065

Changed in python-glanceclient:
status: Confirmed → In Progress
Erno Kuvaja (jokke) on 2016-01-20
Changed in python-glanceclient:
importance: Low → Medium

Reviewed: https://review.openstack.org/270065
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=56c27d1cb872936e7177f5ca37b6910e1dcd6b02
Submitter: Jenkins
Branch: master

commit 56c27d1cb872936e7177f5ca37b6910e1dcd6b02
Author: kairat_kushaev <email address hidden>
Date: Wed Jan 20 12:01:32 2016 +0300

    Change metavar for location commands in V2

    Currently location-add, location-delete and location-update
    shows <ID> in help messages as metavar for image id. It may be
    not clear to the users so we need to change this to <IMAGE_ID>.

    Change-Id: I59c787e449fa34bc792de179993c55f59734b9fe
    Closes-Bug: #1535220

Changed in python-glanceclient:
status: In Progress → Fix Released

This issue was fixed in the openstack/python-glanceclient 2.0.0 release.

Change abandoned by Joshua Hesketh (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/290514
Reason: This branch (stable/liberty) is at End Of Life

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers