os-brick/os_brick/initiator
imacdonn d398fa8233 'iscsiadm -m session' failure handling
Sometimes 'iscsiadm -m session' outputs warnings on stderr, but
still serves its purpose (usable stdout). We should not give up on
it when stderr is non-empty - instead, rely on the exit status, log
the stderr as a warning, and move on.

This change also removes 1 (ISCSI_ERR) from the list of acceptable
exit codes for the iscsiadm command, to ensure that failures get
caught.

Change-Id: Id8183cf3d8baf2f8ba6a00a47fa2ad7cc2a96aa5
Closes-Bug: #1732199
2018-09-25 17:29:42 +00:00
..
connectors 'iscsiadm -m session' failure handling 2018-09-25 17:29:42 +00: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 docstrings 2018-09-20 17:41:43 +08:00
linuxsheepdog.py Remove unused LOG to keep code clean 2016-07-09 10:17:48 +08:00