os-brick/os_brick/tests
Gorka Eguileor f2fed213f6 Improve detection of multipathd running
There is a case where `multipathd show status` should fail, yet it
doesn't exit with an error code. Instead it returns 0. Error is printed
to stdout as "error receiving packet".

This means that enforce will not work as expected.

The multipathd error got fixed here:
https://www.redhat.com/archives/dm-devel/2015-March/msg00136.html

But that patch is missing in some packages, so this patch adds a
workaround to detect the error base on the stdout of the multipathd show
status command.

Closes-Bug: #1789699
Change-Id: I1cb29782541e3fe53b0b1744ab36f56464cd2135
(cherry picked from commit 028af871de)
2018-09-17 13:49:13 +02:00
..
encryptors Make close on cryptsetup volumes idempotent 2017-11-18 00:19:42 +00:00
initiator Improve detection of multipathd running 2018-09-17 13:49:13 +02:00
local_dev set vg_thin_pool_size to float type 2017-11-28 09:58:50 +08:00
privileged Refactor iSCSI connect 2017-06-16 16:09:35 +02:00
remotefs Move vzstorage related code out of RemoteFsClient 2017-03-30 13:53:10 +03:00
windows Windows iSCSI: ensure disks are claimed by MPIO 2018-03-19 10:46:53 +00: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 iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
test_utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00