os-brick/os_brick/tests
Matthew Booth 7e341a9408 Make close on cryptsetup volumes idempotent
When recovering from the failure of a compute host, Nova can call
close on an encryptor whose state Nova can't be certain of, but which
hasn't been created. This change makes the close operation idempotent,
which allows recovery to be more robust.

Related-bug: #1724573
Change-Id: I9f52f89b8466d03699cfd5c0e32c672c934cd6fb
(cherry picked from commit cedf281c73)
2017-12-12 18:31:43 +00:00
..
encryptors Make close on cryptsetup volumes idempotent 2017-12-12 18:31:43 +00:00
initiator Fixed generated temp file problem for RBD backend 2017-10-11 13:06:55 +00:00
local_dev Mock time.sleep for test_lv_deactivate_timeout test 2016-09-07 12:46:28 +03:00
privileged Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
remotefs Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
windows Windows connectors: add device_scan_interval arg 2016-12-22 18:48:02 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Merge "Replace assertDictMatch with assertDictEqual" 2016-12-22 17:24:10 +00:00
test_brick.py Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_executor.py Fix cmd execution stderr, stdout unicode errors 2016-08-25 16:34:28 +00:00
test_utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00