diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-07-20 18:59:12 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-07-20 18:59:12 +0000 |
| commit | 1878448e72c8ce790523ed2e2e0837fab909cb8f (patch) | |
| tree | 2c1df4d79567dc88487ff8ff6e38842a34bf63ae | |
| parent | a873b455fbceb0562c25d381a85250810eb0b784 (diff) | |
| parent | 5d8740932a42ce15c4a84764b9367ab37aa41a6e (diff) | |
Merge "Make snapshot work for stopped VMs."
| -rw-r--r-- | nova/compute/manager.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 82963ec5f..034bce09e 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1081,8 +1081,7 @@ class ComputeManager(manager.SchedulerDependentManager): current_power_state = self._get_power_state(context, instance_ref) self._instance_update(context, instance_ref['uuid'], - power_state=current_power_state, - vm_state=vm_states.ACTIVE) + power_state=current_power_state) LOG.audit(_('instance snapshotting'), context=context, instance_uuid=instance_uuid) |
