The compute manager needs to reset the task state after a backup
is complete. However it was only correctly reseting after a
snapshot due to the current expected state being hardcoded.
Now looks for the correct expected state depending on whether a
backup or snapshot was being executed.
Reviewed: https:/ /review. openstack. org/13152 github. com/openstack/ nova/commit/ 73e8d5a7b668e3a 9700101b2fcd742 ed349e0b26
Committed: http://
Submitter: Jenkins
Branch: master
commit 73e8d5a7b668e3a 9700101b2fcd742 ed349e0b26
Author: eddie-sheffield <email address hidden>
Date: Mon Sep 17 11:10:06 2012 -0400
Reset the task state after backup done.
The compute manager needs to reset the task state after a backup
is complete. However it was only correctly reseting after a
snapshot due to the current expected state being hardcoded.
Now looks for the correct expected state depending on whether a
backup or snapshot was being executed.
Fixes bug 1051069
Change-Id: Ie91f7745b98232 370be6c99d318a8 033a93cc50c