diff options
| author | Ken Pepple <ken.pepple@gmail.com> | 2011-03-09 14:13:52 -0800 |
|---|---|---|
| committer | Ken Pepple <ken.pepple@gmail.com> | 2011-03-09 14:13:52 -0800 |
| commit | 203e23ebebc73a98dc8e8497fd2b28d3a6bf01da (patch) | |
| tree | 118d7f7d20063144be8ad0de9db8ba32d1404cb0 /nova | |
| parent | f93e424c0c722f5607086349787a95517f31d79b (diff) | |
| download | nova-203e23ebebc73a98dc8e8497fd2b28d3a6bf01da.tar.gz nova-203e23ebebc73a98dc8e8497fd2b28d3a6bf01da.tar.xz nova-203e23ebebc73a98dc8e8497fd2b28d3a6bf01da.zip | |
initializing instance power state on launch to 0 (fixes EC2 API bug)
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/compute/api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index a0bb2cf04..2358b562c 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -165,6 +165,7 @@ class API(base.Base): 'image_id': image_id, 'kernel_id': kernel_id or '', 'ramdisk_id': ramdisk_id or '', + 'state': "0", 'state_description': 'scheduling', 'user_id': context.user_id, 'project_id': context.project_id, |
