commit 1487ea7abb974650d5658b29e52e0b0603751556
Author: Eric M Gonzalez <email address hidden>
Date: Thu Mar 8 09:11:25 2018 -0600
unquiesce instance after quiesce failure
If the call to compute_rpcapi.quisece_instance() raises an exception,
any uncaught exception will break out of the function
snapshot_volume_backed(). This can leave the instance in frozen state.
This patch adds a blanket Exception catch to the try block and calls
compute_rpcapi.unquiesce_instance() before reraising.
This has been seen in the wild with RPC timeouts, but this is not the
only possible genesis for an unknown error from quiesce_instance.
Reviewed: https:/ /review. openstack. org/581454 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1487ea7abb9 74650d5658b29e5 2e0b0603751556
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 1487ea7abb97465 0d5658b29e52e0b 0603751556
Author: Eric M Gonzalez <email address hidden>
Date: Thu Mar 8 09:11:25 2018 -0600
unquiesce instance after quiesce failure
If the call to compute_ rpcapi. quisece_ instance( ) raises an exception, volume_ backed( ). This can leave the instance in frozen state.
any uncaught exception will break out of the function
snapshot_
This patch adds a blanket Exception catch to the try block and calls rpcapi. unquiesce_ instance( ) before reraising.
compute_
This has been seen in the wild with RPC timeouts, but this is not the
only possible genesis for an unknown error from quiesce_instance.
Conflicts:
nova/ tests/unit/ compute/ test_compute_ api.py
NOTE(mriedem): The conflict is due to not having change 3c0c2430b480f1a 498a52fc4a9daf0 , and its dependencies,
I4e7b46deb4
in Pike.
Change-Id: Idca5998da8bb42 b29a8fffdf52b4a f3a043c6326 09dd9491cab4a81 9b5c84d3e8) eb1a75d1d3d81a4 39b5fdb796)
Closes-Bug: #1754360
(cherry picked from commit 1e77faaa412ab99
(cherry picked from commit bcae081c4672a13