[Bug 575240] Re: iscsid does not start automatically having iscsi root
Jonathan McCune
jonmccune at gmail.com
Thu Jul 12 15:02:09 UTC 2012
In attempting to debug this earlier, I had set 'node.startup =
automatic' in /etc/iscsi/iscsid.conf, so that during discovery
/etc/iscsi/nodes/* were all set to automatically start. This is
completely unrelated to the main problem identified by this bug; I just
wanted to make that explicit, since I mentioned the issue in comment #8.
Thanks,
-Jon
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/575240
Title:
iscsid does not start automatically having iscsi root
Status in “open-iscsi” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: open-iscsi
Affected package: open-iscsi
# apt-cache policy open-iscsi
open-iscsi:
Installed: 2.0.871-0ubuntu4
Candidate: 2.0.871-0ubuntu4
Version table:
*** 2.0.871-0ubuntu4 0
500 http://es.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
Fresh install of Ubuntu Server 10.04 (official release, no RC).
root filesystem in iSCSI.
/boot in a separate filesystem.
swap in a dedicated partition (in iSCSI as well).
Tested on both real and virtual machines.
Boot process seems to be OK.
root filesystem is correctly mounted.
"iscsiadm -m session" shows connection to the target:
# iscsiadm -m session
tcp: [1] 192.168.21.128:3260,2 iqn.1986-03.com.sun:02:55ea9bbb-38e6-4161-ae96-80b1b0aa08fa
But increasing debug level, we can see we are getting an 111 error
when contacting iscsid (111 = connection refused):
# iscsiadm -m session -P1
Target: iqn.1986-03.com.sun:02:55ea9bbb-38e6-4161-ae96-80b1b0aa08fa
Current Portal: 192.168.21.128:3260,2
Persistent Portal: 192.168.21.128:3260,2
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:e0f7a4361e16
Iface IPaddress: 192.168.21.38
Iface HWaddress: <empty>
Iface Netdev: <empty>
SID: 1
iscsiadm: can not connect to iSCSI daemon (111)!
iSCSI Connection State: Unknown
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: Unknown
The problem is that iscsid is not running:
# /etc/init.d/open-iscsi status
* iscsid is not running
# ps -efa | grep -i iscsi
root 232 2 0 17:15 ? 00:00:00 [iscsi_eh]
root 238 2 0 17:15 ? 00:00:00 [iscsi_q_2]
root 851 782 0 17:32 pts/0 00:00:00 grep --color=auto -i iscsi
open-iscsi SysV init scripts are installed (according to
/var/lib/dpkg/info/open-iscsi.postinst):
# find /etc/rc*.d -iname "*iscsi*"
/etc/rc0.d/S41open-iscsi
/etc/rc1.d/S41open-iscsi
/etc/rc6.d/S41open-iscsi
/etc/rcS.d/S25open-iscsi
iscsid must be running in order to handle connection errors to the
iSCSI target, among many other things.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: open-iscsi 2.0.871-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-server x86_64
Architecture: amd64
Date: Tue May 4 17:16:25 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/575240/+subscriptions
More information about the foundations-bugs
mailing list