os-brick/os_brick/initiator/connectors
imacdonn 44a0486d05 '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
(cherry picked from commit d398fa8233)
2019-03-14 17:06:03 +00:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py FC Allow for multipath volumes with different LUNs 2018-08-27 11:16:25 -05:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-21 05:22:21 +00:00
fibre_channel_s390x.py Fix multipath disconnect with path failure 2018-08-21 11:46:42 -05:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py 'iscsiadm -m session' failure handling 2019-03-14 17:06:03 +00:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvme.py Adding NVMEoF for initiator CLI 2017-11-16 14:39:34 +00:00
rbd.py Fix ceph incremental backup fail 2017-06-29 10:36:36 +08:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
sheepdog.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
storpool.py Add the StorPool brick connector 2017-12-01 23:06:15 +02:00
vmware.py Fix vmware migrate available volume bug 2017-09-11 16:43:24 +08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00