os-brick/os_brick/tests/initiator
Gorka Eguileor ce72e77959 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)
(cherry picked from commit f2fed213f6)
2019-03-26 10:42:55 -05:00
..
connectors 'iscsiadm -m session' failure handling 2019-03-14 17:06:03 +00:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Improve detection of multipathd running 2019-03-26 10:42:55 -05:00
test_host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
test_linuxfc.py FC Allow for multipath volumes with different LUNs 2018-08-27 11:16:25 -05:00
test_linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
test_linuxscsi.py Improve detection of multipathd running 2019-03-26 10:42:55 -05:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00