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

Chris Lalancette clalance at redhat.com
Wed Jun 4 19:47:08 UTC 2008


Problem: ovirt-identify-node was calling libvirt functions.  However, libvirtd
isn't running at this point in boot, so calling these functions fails.

Solution: Luckily, we can get almost all of this information from python's
built-in facilities (and we will be able to get it from bash later as well).  So
make native python calls to get this information.

Longer term, I think we'll probably want to do this in 2 stages (1st stage just
grab the keytab, and 2nd stage actually send over relevant information).  But
this should fix it for now.

Warning: it's only been lightly tested so far, so beware.

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-host-info.patch
Type: text/x-patch
Size: 2390 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080604/7b24158b/attachment.bin>


More information about the ovirt-devel mailing list