OCI Error: iscsid: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE
After Rebooting CentOS 6 instance, The server was not coming up. The Error it was showing like below:
ERROR:
Jun 10 08:30:17 <hostname> kernel: connection1:0: detected conn error (1020)
Jun 10 08:30:17 <hostname> iscsid: Kernel reported iSCSI connection 1:0 error (1020 - ISCSI_ERR_TCP_CONN_CLOSE: TCP connection closed) state (2)
[ 11.857650] connection1:0: detected conn error (1020)
[ 12.013791] connection3:0: detected conn error (1020)
[ 28.322439] connection1:0: detected conn error (1020)
While looking into this issue , i found out that this is caused by iSCSI boot configuration as kernel boot parameter written in grub.conf.
Find articles about Troubleshooting Other OCI Linux Issues
SOLUTION
These messages can safely be ignored.
Not to log these messages, follow the procedure:
1. vi /boot/efi/EFI/redhat/grub.conf OR /boot/efi/EFI/centos/grub.conf
2. Remove below from grub.conf
netroot=iscsi:169.254.0.2::::iqn.####-##.oracle.boot:uefi iscsi_param=node.session.timeo.replacement_timeout=6000
3. Restart OS
It is better to remove same parameters from GRUB_CMDLINE_LINUX= in /etc/sysconfig/grub.
You can start your server aswell using following Bonus Tip.
Bonus Tip:
1. Detach the iscsi block Volume.
2. start server.
3. Attach the iscsi block Volume to the Instance once it is up.
No comments