Oracle Linux 7 Cloud Instance Experiences Hangs with Kernel Error "detected conn error (1020)"
An Oracle Linux 7 Cloud instance using iSCSI storage, started to experience many OS commands, such as ps or df hanging. The instance logs showed that the iscsid service had failed to re-establish iscsi connections with the following errors occurring:
Apr 29 03:22:41 <hostname> iscsid: iscsid: Kernel reported iSCSI connection 2:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (3)
Apr 29 03:22:41 <hostname> iscsid: iscsid: re-opening session 2 (reopen_cnt 0)
Apr 29 03:22:41 <hostname> iscsid: iscsid: disconnecting conn 0x55878c4c6ad8, fd 6
Apr 29 03:22:41 <hostname> kernel: connection2:0: detected conn error (1020)
Apr 29 03:22:43 <hostname> iscsid: iscsid: Poll was woken by an alarm
Apr 29 03:22:43 <hostname> iscsid: iscsid: re-opening session 2 (reopen_cnt 0)