Hi
I have Debian Wheezy based iSCSI storage server running LIO iSCSI target and configured with targetcli.
Also I have two Proxmox VE 2.3 nodes in non-HA cluster configuration. Nodes are up to date.
When I add iSCSI target to cluster I have bunch of rx_data iSCSI errors (see below)
Target works fine (LVM on top) but those errors on storage server are annoying and produce lots of noise in syslog
I have traced the problem to /usr/bin/pvestatd, /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm and iscsi_test_portal function which connects to iSCSI portal and disconnects but LIO target expects full ISCSI_HDR_LEN (drivers/target/iscsi/iscsi_target_login.c in kernel tree)
Quick fix is to return 1; from iscsi_test_portal instead of return $p->ping($server); but I am not sure will any other functionality suffer if we assume that target is always connectable.
Igor
/var/log/syslog on storage sever:
May 10 11:22:21 storage kernel: [609526.746899] rx_data() returned an error.
May 10 11:22:21 storage kernel: [609526.746995] iSCSI Login negotiation failed.
May 10 11:22:31 storage kernel: [609535.900565] rx_data() returned an error.
May 10 11:22:31 storage kernel: [609535.900591] iSCSI Login negotiation failed.
May 10 11:22:41 storage kernel: [609546.016885] rx_data() returned an error.
May 10 11:22:41 storage kernel: [609546.016912] iSCSI Login negotiation failed.
I have Debian Wheezy based iSCSI storage server running LIO iSCSI target and configured with targetcli.
Also I have two Proxmox VE 2.3 nodes in non-HA cluster configuration. Nodes are up to date.
When I add iSCSI target to cluster I have bunch of rx_data iSCSI errors (see below)
Target works fine (LVM on top) but those errors on storage server are annoying and produce lots of noise in syslog
I have traced the problem to /usr/bin/pvestatd, /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm and iscsi_test_portal function which connects to iSCSI portal and disconnects but LIO target expects full ISCSI_HDR_LEN (drivers/target/iscsi/iscsi_target_login.c in kernel tree)
Quick fix is to return 1; from iscsi_test_portal instead of return $p->ping($server); but I am not sure will any other functionality suffer if we assume that target is always connectable.
Igor
/var/log/syslog on storage sever:
May 10 11:22:21 storage kernel: [609526.746899] rx_data() returned an error.
May 10 11:22:21 storage kernel: [609526.746995] iSCSI Login negotiation failed.
May 10 11:22:31 storage kernel: [609535.900565] rx_data() returned an error.
May 10 11:22:31 storage kernel: [609535.900591] iSCSI Login negotiation failed.
May 10 11:22:41 storage kernel: [609546.016885] rx_data() returned an error.
May 10 11:22:41 storage kernel: [609546.016912] iSCSI Login negotiation failed.