The problem, I believe, come from the fact that open-iscsi is brought up (S25 in /etc/rcS.d) before networking (S40 in /etc/rcS.d).
It is my understanding that udev bring interfaces up as they are discovered, which mean that "bare" interfaces (eth0, eth1, etc) happen to be brought up before /etc/rcS.d/S25open-iscsi is run, in which case it is all fine. However, if you depend on an interface not being brought up by udev to reach the iSCSI target (such as a bonded interface, as it is the case above), then open-iscsi indeed come up before there is a path to its target and fail.
I tried setting node.conn[0].timeo.login_timeout to a large value, as Soren suggested earlier, but it did not change anything for me.
The problem, I believe, come from the fact that open-iscsi is brought up (S25 in /etc/rcS.d) before networking (S40 in /etc/rcS.d).
It is my understanding that udev bring interfaces up as they are discovered, which mean that "bare" interfaces (eth0, eth1, etc) happen to be brought up before /etc/rcS. d/S25open- iscsi is run, in which case it is all fine. However, if you depend on an interface not being brought up by udev to reach the iSCSI target (such as a bonded interface, as it is the case above), then open-iscsi indeed come up before there is a path to its target and fail.
I tried setting node.conn[ 0].timeo. login_timeout to a large value, as Soren suggested earlier, but it did not change anything for me.