[Pkg-libvirt-maintainers] Bug#574358: Bug#574358: libvirt-bin: libvirtd fails to autostart iscsi pool at boot time
Guido Günther
agx at sigxcpu.org
Thu Mar 18 17:17:37 UTC 2010
Hi Nicolas,
On Thu, Mar 18, 2010 at 03:23:16PM +0100, Nicolas Greneche wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Guido Günther wrote:
> > On Wed, Mar 17, 2010 at 04:28:41PM +0100, Nicolas Greneche wrote:
> >> It seems that libvirtd comes too early in booting process.
> > Or the iscsi stuff to late. Could you add a
> >
> > Could you change:
> > # Should-Start: hal avahi
> > # Should-Start: hal avahi open-iscsi
Did you verify that open-iscsi indeed starts before libvirtd?
You need to run:
update-rc.d libvirt-bin defaults 28 7
to make this active. Are you using dependency based boot?
> >
> > to the LSB section of /etc/init.d/libvirt-bin and see if this helps
> > (assuming you're using dependency based boot)?
> > Cheers,
> > -- Guido
> >
> >
>
> I added a sleep in start function :
>
> fi
> ** sleep 60 **
> rm -f /var/run/libvirtd.pid
>
> And it solved the issue.
> Maybe there is a cleaner way to do it ?
See above. I still don't understand _what_ causes the actual problem -
why do we have to wait here? What service/interface isn't ready?
Could you attach your open-iscsi and pool configuration?
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list