Support for new --status parameter to "nova-manage vm list" command

Registered by Raga lahari

Currently "nova-manage vm list" command is displaying the list of all
VMs irrespective of vm_state(active,error,etc.). This is much slower
to query the output using the vm_state (|grep active).

This feature introduces new option "status" to "nova-manage vm list".
If user provides the vm_state using --status option,
VM's of that state will be displayed accordingly.
If --status option is not provided, then by default
the VM's of all states will be displayed.

This is a specless blueprint as it is a straight-forward change.

This provides solution to bug #1494841.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Low
Drafter:
tcs_openstack_group
Direction:
Needs approval
Assignee:
Raga lahari
Definition:
Obsolete
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
Matt Riedemann
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

https://review.openstack.org/#/c/231447/

Gerrit topic: https://review.openstack.org/#q,topic:bp/filter-nova-manage-vm-list,n,z

Addressed by: https://review.openstack.org/242370
    Support for new --status parameter to "nova-manage vm list" command

Its now actually this change:
https://review.openstack.org/#/c/231447

Sorry, we have now hit the Non-Priority Feature Freeze for Mitaka. For more details please see: http://docs.openstack.org/releases/schedules/mitaka.html#m-nova-npff and http://docs.openstack.org/developer/nova/process.html#non-priority-feature-freeze
--johnthetubaguy 2016.01.30

Why isn't the REST API sufficient for filtering the instances by status and host? nova-manage is mostly deprecated/feature frozen so I'd like to know the justification for adding this to the nova-manage CLI rather than just using the REST API. -- mriedem 20160707

We're deprecating the nova-manage vm list command in Newton and will remove it in Ocata so this blueprint is no longer valid. See: https://review.openstack.org/#/c/339219/ -- mriedem 20160708

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.