diff options
| author | mkislinska <mkislinska@griddynamics.com> | 2013-04-25 11:16:24 +0300 |
|---|---|---|
| committer | mkislinska <mkislinska@griddynamics.com> | 2013-05-17 12:58:53 +0300 |
| commit | d4e762bd9ecffb6a945fbe938fff78fc2b0681e6 (patch) | |
| tree | 8637dfe9204383c83cedb5dce7d353f90c2077aa /bin/stack | |
| parent | da1d7390fea6ba8ac9eefd1a25e5c1412e624ee3 (diff) | |
| download | nova-d4e762bd9ecffb6a945fbe938fff78fc2b0681e6.tar.gz nova-d4e762bd9ecffb6a945fbe938fff78fc2b0681e6.tar.xz nova-d4e762bd9ecffb6a945fbe938fff78fc2b0681e6.zip | |
The vm_state should not be modified until the task is complete.
Several methods in nova.compute.api alter the vm_state value before
proceeding with the actual work. The initial vm_state may be changed to
something other than the initial vm_state (which is a problem: since we
do not know what the initial state actually was, we cannot reasonably
recover and set the corresponding ERROR if a problem with the operation
occurs).
Actually done:
Removed vm_state update before executing task
Changed methods:
- reboot
- pause
- unpause
- suspend
- resume
- rescue
- unrescue
Fixes: bug #1158509
Change-Id: I5ee7aebf3c4831dd577ed5ab9aa155095152f8a8
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
