summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/cloud.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index b7c7d2e12..8bddf3032 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -82,6 +82,7 @@ def _gen_key(context, user_id, key_name):
# EC2 API: Valid Values:
# pending | running | shutting-down | terminated | stopping | stopped
_STATE_DESCRIPTION_MAP = {
+ None: 'pending',
vm_states.ACTIVE: 'running',
vm_states.BUILD: 'pending',
vm_states.REBUILD: 'pending',