os-brick/os_brick/tests/initiator
Gorka Eguileor 028af871de 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
2018-08-29 19:19:31 +02:00
..
connectors Fix multipath disconnect with path failure 2018-08-13 11:02:01 +02: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 2018-08-29 19:19:31 +02: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-07-16 10:31:52 -07: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 2018-08-29 19:19:31 +02:00
test_linuxsheepdog.py Add sheepdog support 2016-02-19 04:57:12 +00:00