commit bcae081c4672a13eb1a75d1d3d81a439b5fdb796
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.
Change-Id: Idca5998da8bb42b29a8fffdf52b4af3a043c6326
Closes-Bug: #1754360
(cherry picked from commit 1e77faaa412ab9909dd9491cab4a819b5c84d3e8)
Reviewed: https:/ /review. openstack. org/581451 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=bcae081c467 2a13eb1a75d1d3d 81a439b5fdb796
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit bcae081c4672a13 eb1a75d1d3d81a4 39b5fdb796
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.
Change-Id: Idca5998da8bb42 b29a8fffdf52b4a f3a043c6326 09dd9491cab4a81 9b5c84d3e8)
Closes-Bug: #1754360
(cherry picked from commit 1e77faaa412ab99