Test done for the following releases : Trusty, Xenial, Yakkety, Zesty
1) Launch a container 2) Enable proposed 3) apt update 4) apt install sosreport and open-iscsi(if absent) 5) sosreport --batch -oiscsi 6) Extract sosreport tarball locally 7) Verify collected files : # ls sosreport-zesty-sosiscsi-20170505095538/etc/isc* initiatorname.iscsi iscsid.conf 8) Verify the output of the collected commands : find sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/* -exec cat {} \; -ls # find sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/* -exec cat {} \; -ls Iface: default Iface: iser 34041 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/iscsiadm_-m_iface_-P_1 iscsiadm: No records found 34043 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/iscsiadm_-m_node_--op_show iscsiadm: No records found 34044 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/iscsiadm_-m_node_-P_1 iscsiadm: No active sessions. iSCSI Transport Class version 2.0-870 version 2.0-873 34042 5 -rw-r--r-- 1 root root 84 May 5 09:55 sosreport-zesty-sosiscsi-20170505095538/sos_commands/iscsi/iscsiadm_-m_session_-P_3
Test done for the following releases : Trusty, Xenial, Yakkety, Zesty
1) Launch a container zesty-sosiscsi- 20170505095538/ etc/isc* zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/* -exec cat {} \; -ls zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/* -exec cat {} \; -ls zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/iscsiadm_ -m_iface_ -P_1 zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/iscsiadm_ -m_node_ --op_show zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/iscsiadm_ -m_node_ -P_1 zesty-sosiscsi- 20170505095538/ sos_commands/ iscsi/iscsiadm_ -m_session_ -P_3
2) Enable proposed
3) apt update
4) apt install sosreport and open-iscsi(if absent)
5) sosreport --batch -oiscsi
6) Extract sosreport tarball locally
7) Verify collected files :
# ls sosreport-
initiatorname.iscsi iscsid.conf
8) Verify the output of the collected commands :
find sosreport-
# find sosreport-
Iface: default
Iface: iser
34041 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-
iscsiadm: No records found
34043 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-
iscsiadm: No records found
34044 5 -rw-r--r-- 1 root root 27 May 5 09:55 sosreport-
iscsiadm: No active sessions.
iSCSI Transport Class version 2.0-870
version 2.0-873
34042 5 -rw-r--r-- 1 root root 84 May 5 09:55 sosreport-