help info of "glance location-add" is unclear

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

Bug Description

help info of "glance location-add" is unclear

devstack all-in-one node

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

[Reproduceable or not]

[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

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

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

reproduceable bug, no need

reproduceable bug, no need

[Root cause anlyze or debug inf]
reproduceable bug


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

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

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
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