nova/nova/tests
Eric M Gonzalez 7ab98b5345 unquiesce instance on volume snapshot failure
This patch adds an exception catch to "snapshot_volume_backed()" of
compute/api.py that catches (at the moment) _all_ exceptions from the
underlying cinderclient. Previously, if the instance is quiesced ( frozen
filesystem ) then the exception will break execution of the function,
skipping the needed unquiesce, and leave the instance in a frozen state.

Now, the exception catch will unquiesce the instance if it was prior to
the failure.

Got a unit test in place with the help of Matt Riedemann.
    test_snapshot_volume_backed_with_quiesce_create_snap_fails

Change-Id: I60de179c72eede6746696f29462ee9d805dace47
Closes-bug: #1731986
(cherry picked from commit bca425a33f)
2018-02-19 14:31:42 -05:00
..
functional Handle volume-backed instances in IsolatedHostsFilter 2018-02-12 14:45:39 -05:00
live_migration/hooks Fix live migration grenade ceph setup 2017-10-26 17:53:15 -04:00
unit unquiesce instance on volume snapshot failure 2018-02-19 14:31:42 -05:00
__init__.py
fixtures.py Add functional tests for traits-based scheduling 2018-02-01 17:17:31 -05:00
json_ref.py Nits from Ic3ab7d60e4ac12b767fe70bef97b327545a86e74 2017-11-28 15:55:45 +01:00
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:53:34 +05:30