quantum cli list produces error if -c is specified and no results exist

Bug #1032868 reported by dan wendlandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
yong sheng gong
python-neutronclient
Fix Released
Low
yong sheng gong

Bug Description

here is output when there are no routers defined (should apply to all entities

nicira@com-dev:~/devstack$ quantum router-list -c id
ERROR: cliff.app No recognized column names in ['id']

dan wendlandt (danwent)
Changed in quantum:
importance: Undecided → Low
Changed in quantum:
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
Gary Kotton (garyk) wrote :

Hi,
I ran this an it looks ok:

gkotton@gkotton-ubuntu12:~/devstack$ quantum router-list -c
usage: quantum router-list [-h] [-f {csv,table}] [-c COLUMN]
                           [--quote {all,minimal,none,nonnumeric}]
                           [--request-format {json,xml}] [-D] [-F FIELDS]
                           ...
quantum router-list: error: argument -c/--column: expected one argument
gkotton@gkotton-ubuntu12:~/devstack$ quantum router-list -c id

gkotton@gkotton-ubuntu12:~/devstack$

Is this still a problem?
Thanks
Gary

Changed in quantum:
status: New → Incomplete
Revision history for this message
yong sheng gong (gongysh) wrote :

I think I had fixed it, why is this not updated.?

Changed in quantum:
status: Incomplete → Fix Committed
Revision history for this message
dan wendlandt (danwent) wrote :

I think the update didn't happen because this was filed under the quantum project, not the python-quantumclient project.

lately, i've tried to file all such bugs under python-quantumclient, but then add the 'quantum' project as an 'also affects project', so that it shows up in our main list.

Akihiro Motoki (amotoki)
affects: quantum → python-quantumclient
Changed in quantum:
status: New → Fix Committed
importance: Undecided → Low
milestone: none → folsom-rc1
assignee: nobody → yong sheng gong (gongysh)
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc1 → 2012.2
Changed in python-quantumclient:
milestone: none → 2.1
Akihiro Motoki (amotoki)
Changed in python-quantumclient:
status: Fix Committed → Fix Released
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.