[Ovirt-devel] [PATCH node] Introduces the node-admin toolset.

Darryl L. Pierce dpierce at redhat.com
Mon Sep 14 16:53:00 UTC 2009


On Mon, Sep 14, 2009 at 11:31:21AM -0400, Joey Boggs wrote:
> Found an issue in libvirtworker.py when trying to install using an iso:
>
> "/usr/lib/python2.6/site-packages/ │
> │ nodeadmin/libvirtworker.py", line │
> │ 205, in define_domain │
> │ AttributeError: DomainConfig │
> │ instance has no attribute │
> │ 'get_is_path'
>
>
>
> diff --git a/nodeadmin/libvirtworker.py b/nodeadmin/libvirtworker.py
> index d10595c..aec9d70 100644
> --- a/nodeadmin/libvirtworker.py
> +++ b/nodeadmin/libvirtworker.py
> @@ -202,7 +202,7 @@ class LibvirtWorker:
> location = config.get_install_media()
> else:
> iclass = virtinst.LiveCDInstaller
> - location = config.get_is_path()
> + location = config.get_iso_path()
> elif config.get_install_type() == DomainConfig.NETWORK_INSTALL:
> iclass = virtinst.DistroInstaller
> location = config.get_install_url()

Okay, I've fixed this in my repo locally.

> Seems to work afa defining a domain, I'm stuck at this point of the  
> adding tap device error but I don't see any problems pushing this and  
> fixing as need be since it's a big addition and it's not going to cause  
> regressions

I'm not sure what that is. One checking I've put in today, but haven't
tested, is to ensure that the network interface is up and running. I saw
that the bridge named "default" is not started when the node is booted.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Virtual Machine Management - http://www.ovirt.org/
Is fearr Gaeilge bhriste ná Béarla cliste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090914/870fd04f/attachment.sig>


More information about the ovirt-devel mailing list