diff --git a/nova/compute/power_state.py b/nova/compute/power_state.py index efe5b5cc7762..872f15ff5b99 100644 --- a/nova/compute/power_state.py +++ b/nova/compute/power_state.py @@ -41,7 +41,7 @@ BUILDING = 0x09 # TODO(justinsb): Power state really needs to be a proper class, # so that we're not locked into the libvirt status codes and can put mapping # logic here rather than spread throughout the code -_STATE_MAP = { +STATE_MAP = { NOSTATE: 'pending', RUNNING: 'running', PAUSED: 'paused',