Bug#775778: open-iscsi: Boot with systemd hangs (ordering of init script w.r.t. remote filesystems)

Ritesh Raj Sarraf rrs at researchut.com
Sun Jan 25 14:43:45 GMT 2015


On 01/25/2015 06:54 PM, Christian Seiler wrote:
> Hi,
>
> Sorry for top posting but I'm writing this from a phone.
>
> I can see what you mean, but that doesn't happen to me. The first part
> of the delay seems fine, as your system appears to take a while to log
> in to iSCSI (both bare metal against a hardware RAID and VMs against
> another VM w/ LIO I have here are much faster btw., at most ~2s here),
> but after the 'reached remote fs (pre)' it should find the devices and
> not time out waiting for them
>
My setup too is that of 2 VMs, and the iSCSI target used is LIO.

> Is this on LVM (because of /dev/mapper in the output)? If so, did you
> configure the VGs in /etc/default/open-iscsi? What does journalctl -xn
> say after booting?
>

No. This is not using LVM. That was to be done is the next phase. My
usual tests include iSCSI + Multipath + LVM. But instead, in this case,
I'm using Device Mapper Multipath only, which is a more commonly used
target of the Device Mapper framework.

> BTW I can give you root access to a couple of VMs (together with
> access to libvirt to watch them boot if you have virt-manager
> installed) that demonstrate the problem and my solution. Just send me
> an email (privately) with your SSH pubkey signed with your GPG key in
> Debian's keyring.
>
> Thanks a lot for taking the time to investigate this so thoroughly!

Unfortunately, I don't have enough time on weekdays. We can think of
doing that next weekend, if time permits then. Meanwhile, if you can
root cause it, I'd be willing to squeeze out some time to test.

Keep in mind that this is just 2 LUNs mapped. And with just 2 paths
each. root
The problem will be more severe for users with higher number of LUNs mapped.

I've still kept the systemd folks in the loop, hopefully they may be
able to shed some light.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150125/45424f44/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150125/45424f44/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list