glance image-list/image-tasks should provide a --verbose option

Bug #1947934 reported by Cyril Roelandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Invalid
Undecided
Cyril Roelandt

Bug Description

In glanceclient/v2/shell.py, both do_image_list and do_image_tasks check the value of "args.verbose", yet no "--verbose" option can be passed to either "image-list" or "image-tasks".

Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :
Changed in python-glanceclient:
assignee: nobody → Cyril Roelandt (cyril-roelandt)
Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

Turns out the order of arguments matters:

$ glance image-list --verbose
...
glance: error: unrecognized arguments: --verbose

$ glance --verbose image-list
... # Works as expected

I'm closing my own bug report then :)

Changed in python-glanceclient:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-glanceclient (master)

Change abandoned by "Cyril Roelandt <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/python-glanceclient/+/649891
Reason: I got confused since "glance --verbose image-list" works but "glance image-list --verbose" does not. Let's abandone this :)

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.