os-brick/os_brick/initiator
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
..
connectors Fix multipath disconnect with path failure 2018-08-21 09:26:43 -05:00
windows Windows SMBFS: avoid mounting local shares by default 2018-07-11 15:02:14 +03:00
__init__.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
connector.py adding sheepdog connector for PPC64 2018-04-18 23:08:17 -03:00
host_driver.py Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
initiator_connector.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
linuxfc.py FC Allow for multipath volumes with different LUNs 2018-07-16 10:31:52 -07:00
linuxrbd.py Merge "Add attribute 'name' to class RBDVolume." 2017-10-10 03:41:31 +00:00
linuxscsi.py Improve detection of multipathd running 2018-09-17 13:49:13 +02:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00