I'm having a weird problem with open-iscsi attempting to use it with SBD. 
This is on SLES11 SP2 with the HAE and open-iscsi installed.

I created an iSCSI Target on system A (using iscsitarget) and set up a 1MB 
device/LUN for use with SBD. I then used YaST / iSCSI Initiator on system 
B  (which installs open-iscsi) to discover and log in to the iSCSI Target 
(with no auth credentials), found the LUN, and set up 
SBD to use that device (by ID). This all works great.

I set the open-iscsi service to start on boot, and when I logged in to the 
Target I specified 'onboot' as well. The file 
/etc/iscsi/nodes/iqn.2012-07.com.example:ac247b7e-57fd-4abc-9dd5-3b0100f92fd7/10.0.0.3,3260,1/default
in fact does include the line
node.startup=onboot

But when I restart, it looks like the open-iscsi service starts but it will 
NOT log in to the target automatically. I'm forced to manually start up 
YaST / iSCSI Initiator / Device Discovery and log in again. This makes the 
cluster node essentially useless, since it can't automatically rejoin 
the cluster without manual intervention. Note that this same problem exists 
on every node (approaching about 10, now) that I or my team has set up.

I've tried everything I can think of .... help? TIA...

Details:
SLES11 SP2 with openais-1.1.4-5.6.66
open-iscsi-2.0.872-0.35.1
Target is same OS, 1MB file created using 'dd' and then set up as an iSCSI 
Target using 'iscsitarget'
Discovery via YasT / iSCSI Initiator / Device Discovery works great, Log In 
(manually) works great - specified 'onboot' and 'No Authentication' in YaST 
when logging in manually. I have also set up normal ext3-formatted iSCSI 
Targets and they work fine (manually).

Sum total of iSCSI related messages in 'dmesg' is:
...
[   20.826145] Loading iSCSI transport class v2.0-870.
[   20.890855] iscsi: registered transport (tcp)
...

Syslog:
Aug  8 20:14:36 dgc-node2 kernel: [   20.826145] Loading iSCSI transport 
class v2.0-870.
Aug  8 20:14:36 dgc-node2 kernel: [   20.890855] iscsi: registered 
transport (tcp)
Aug  8 20:14:36 dgc-node2 iscsid: iSCSI logger with pid=2890 started!
Aug  8 20:14:37 dgc-node2 kernel: [   21.667476] BIOS EDD facility v0.16 
2004-Jun-25, 1 devices found
Aug  8 20:14:37 dgc-node2 iscsid: transport class version 2.0-870. iscsid 
version 2.0-872.suse
Aug  8 20:14:37 dgc-node2 iscsid: iSCSI daemon with pid=2891 started!
... and then SBD fails...
Aug  8 20:14:41 dgc-node2 sbd: [3487]: info: Watchdog enabled.
Aug  8 20:14:41 dgc-node2 sbd: [3487]: ERROR: Opening device 
/dev/disk/by-id/scsi-1494554000000000040cc03a17e430346912cf71cb981f0a5 
failed.: No such file or directory
Aug  8 20:14:41 dgc-node2 sbd: [3487]: ERROR: No devices were available at 
start-up.

Top of /etc/iscsi/... file:
# BEGIN RECORD 2.0-872.suse
node.name = iqn.2012-07.com.example:ac247b7e-57fd-4abc-9dd5-3b0100f92fd7
node.tpgt = 1
node.startup = onboot
node.leading_login = No
iface.iscsi_ifacename = default
iface.transport_name = tcp
node.discovery_address = 10.0.0.3
node.discovery_port = 3260
node.discovery_type = send_targets


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/hJ0hhBcc_ewJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to