[Ovirt-devel] [PATCH]: Fix ovirt-identify-node to work at boot time

Perry N. Myers pmyers at redhat.com
Wed Jun 4 20:16:17 UTC 2008


Daniel P. Berrange wrote:
> On Wed, Jun 04, 2008 at 09:47:08PM +0200, Chris Lalancette wrote:
>> Problem: ovirt-identify-node was calling libvirt functions.  However, libvirtd
>> isn't running at this point in boot, so calling these functions fails.
> 
> Surely libvirtd should be set to run before any oVirt services on the
> host start. There's a clear line of dependancy from oVirt to libvirt
> so the startup should reflect that.

Catch-22 problem....  if you have suggestions let me know.

libvirt requires a keytab to work properly.  The code that is executing is 
code to GET the keytab.  Therefore this must execute prior to libvirt. 
Bad design...

We're probably going to change the startup sequence to be like this 
instead (but this will have to happen after summit)

1. ovirt init script starts so keytab could get retrieved
2. libvirt start
3. another ovirt initscript starts to give hardware info to ovirt server

Thoughts?

Perry




More information about the ovirt-devel mailing list