os-brick/os_brick/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
windows Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
__init__.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
connector.py adding iSER connector for PPC64 2018-01-18 12:16:00 -06: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-08-27 11:16:25 -05: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 2019-03-26 10:42:55 -05:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00