My Oracle Support Banner

OCI: iscsistart attempts to connect iscsi target when the network link is not ready (Doc ID 2610486.1)

Last updated on APRIL 07, 2024

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

OCI intance boot up takes long time with below iscsi time out system logs:
Jul 24 10:19:27 localhost systemd: Starting Login iSCSI Target iqn.2015-02.oracle.boot:uefi...
Jul 24 10:19:27 localhost iscsistart: iscsistart: version 6.2.0.874-10
Jul 24 10:19:28 localhost iscsistart: iscsistart: cannot make a connection to 169.254.0.2:3260 (-1,101) ...
Jul 24 10:34:25 localhost iscsistart: iscsistart: cannot make a connection to 169.254.0.2:3260 (-1,101)
Jul 24 10:34:28 localhost iscsistart: iscsistart: Connection-1:0 to [target: iqn.2015-02.oracle.boot:uefi, portal: 169.254.0.2,3260] through [iface: default] is shutdown.
Jul 24 10:34:28 localhost iscsistart: iscsistart: initiator reported error (8 - connection timed out)
Jul 24 10:34:28 localhost iscsistart: iscsistart: Logging into iqn.2015-02.oracle.boot:uefi 169.254.0.2:3260,1
Jul 24 10:34:28 localhost systemd: iscsistart_169.254.0.2:::1:iqn.2015\x2d02.oracle.boot:uefi.service: main process exited, code=exited, status=1/FAILURE
Jul 24 10:34:28 localhost systemd: Failed to start Login iSCSI Target iqn.2015-02.oracle.boot:uefi.
Jul 24 10:34:28 localhost systemd: Unit iscsistart_169.254.0.2:::1:iqn.2015\x2d02.oracle.boot:uefi.service entered failed state.
Jul 24 10:34:28 localhost systemd: iscsistart_169.254.0.2:::1:iqn.2015\x2d02.oracle.boot:uefi.service failed.
Jul 24 10:34:30 localhost kernel: ixgbevf 0000:00:03.0: NIC Link is Up 10 Gbps
Jul 24 10:34:30 localhost dracut-initqueue: dhcp: PREINIT ens3 up
Jul 24 10:34:30 localhost dhclient[3617]: DHCPDISCOVER on ens3 to 255.255.255.255 port 67 interval 6 (xid=0x46c49c12)
Jul 24 10:34:30 localhost dhclient[3617]: DHCPREQUEST on ens3 to 255.255.255.255 port 67 (xid=0x46c49c12)
Jul 24 10:34:30 localhost dhclient[3617]: DHCPOFFER from 169.254.169.254
Jul 24 10:34:30 localhost dhclient[3617]: DHCPACK from 169.254.169.254 (xid=0x46c49c12)
Jul 24 10:34:30 localhost dracut-initqueue: dhcp: BOND setting ens3
Jul 24 10:34:32 localhost dhclient[3617]: bound to 10.0.0.108 -- renewal in 36565 seconds.
Jul 24 10:34:33 localhost dracut-initqueue: RTNETLINK answers: Invalid argument
Jul 24 10:34:33 localhost dracut-initqueue: Error: any valid prefix is expected rather than "254.0.0.0/169".
Jul 24 10:34:33 localhost systemd: Starting Login iSCSI Target iqn.2015-02.oracle.boot:uefi...
Jul 24 10:34:33 localhost iscsistart: iscsistart: version 6.2.0.874-10
Jul 24 10:34:34 localhost kernel: scsi host2: iSCSI Initiator over TCP/IP
Jul 24 10:34:34 localhost iscsid: iscsid: Could not verify connection 1:0. Dropping event.
Jul 24 10:34:34 localhost iscsistart: iscsistart: Connection1:0 to [target: iqn.2015-02.oracle.boot:uefi, portal: 169.254.0.2,3260] through [iface: default] is operational now  

 

The issue reproduced on both iSCSI and Paravirtualized types of volume attachments.
The issue is not reproducible with dracut-033-554.0.3.el7.x86_64 or ealier version.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.