VM Status string should include both vm_state and task_state

Bug #889169 reported by David Subiros Perez on 2011-11-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2011-12-14
Changed in nova:
milestone: none → essex-2
status: Fix Committed → Fix Released
Mark McLoughlin (markmc) on 2012-04-03
Changed in nova:
assignee: nobody → David Subiros Perez (david-perez5)
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-2 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers