VM Status string should include both vm_state and task_state

Bug #889169 reported by David Subiros Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
David Subiros Perez

Bug Description

Diablo Final now records VM state in two fields (vm_state and task_state) - where task_state is effectively a sub-state.

The status value returned via the OpenStack API List Servers and Get Server Details is based only on a string conversion of vm_state

To provide better information to the users when task_state is not "None" ths status should be displayed as "vm_state (task_state)" - for example "BUILDING (Spawining)" rather than just "BUILDING"

This is controlled by the status_from_state method in api/openstack/common.py

Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Mark McLoughlin (markmc)
Changed in nova:
assignee: nobody → David Subiros Perez (david-perez5)
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-2 → 2012.1
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.