[Bug 575240] Re: iscsid does not start automatically having iscsi root
Jonathan McCune
jonmccune at gmail.com
Thu Jul 12 14:00:32 UTC 2012
I have setup a client system running Ubuntu 12.04 using an iscsi root
filesystem. There is no problem with the root filesystem; everything
boots up just fine. However, I experience the exact same problems as
those reported in the initial bug description. I.e., iscsid is not
running, so connecting to other iscsi targets doesn't work. Starting
iscsid causes the mounted root filesystem to misbehave. The above
description suggests that it remounts read-only. I have seen that some
of the time, and I have also seen a complete hang.
I tried adding the "initramfs patch to roll in iscsid" from comment #5;
this appears to have made no difference.
I'm going to try installing open-iscsi from git as proposed in comment
#6. I'll report back on my luck.
Strange that I'm having these problems, though. Everything is currently
working just fine with some Oneiric (Ubuntu 11.10) clients. I'm tempted
to let the installer upgrade a copy of the Oneiric image to see if the
problem recurs.
Regards,
-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