diff options
| author | Rick Harris <rconradharris@gmail.com> | 2012-02-28 23:14:01 +0000 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2012-02-28 23:14:41 +0000 |
| commit | 067f0a2d2971ab64ee6fa6f3689fc1158471af18 (patch) | |
| tree | 514aa139bde00bbaea768466582e291a664544b0 | |
| parent | 315a45a35bd577129a49c4c3b08a1319f7d2e9a6 (diff) | |
| download | nova-067f0a2d2971ab64ee6fa6f3689fc1158471af18.tar.gz nova-067f0a2d2971ab64ee6fa6f3689fc1158471af18.tar.xz nova-067f0a2d2971ab64ee6fa6f3689fc1158471af18.zip | |
Initialize progress to 0 for build and resize.
Fixes bug 942956
Change-Id: I65031bcd61b49bcae9bd886d7a9f070cba5caad0
| -rw-r--r-- | nova/compute/api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 0aee6dc2f..168e9659c 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -335,6 +335,7 @@ class API(base.Base): 'architecture': architecture, 'vm_mode': vm_mode, 'root_device_name': root_device_name, + 'progress': 0, 'auto_disk_config': auto_disk_config} LOG.debug(_("Going to run %s instances...") % num_instances) @@ -1320,6 +1321,7 @@ class API(base.Base): instance, vm_state=vm_states.RESIZING, task_state=task_states.RESIZE_PREP, + progress=0, **kwargs) request_spec = { |
