Thank you Andre, this did the trick

Hi Wilfredo,

this property was added to python-virtinst-0_400_0, I guess your version is 
older than that?
IIRC the method was later changed. In the most recent versions, it doesn't use 
python-virtinst at all anymore.

Greetings
André

----- Ursprüngliche Mail -----
> Any advice on this error ?
>
> guest.disks.append(virtinst.VirtualDisk(d[0], size=d[1],
> bus=qemu_driver_type))


--
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemuend at 
scai.fraunhofer.de<https://fedorahosted.org/mailman/listinfo/cobbler>
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend


From: Wilfredo Ocasio
Sent: Tuesday, March 06, 2012 3:23 PM
To: 'cobbler@lists.fedorahosted.org'
Subject: got an unexpected keyword argument 'bus'

Any advice on this error ?

libvirtd (pid  4132) is running...
- using qemu hypervisor, type=qemu
- adding disk: /lnisystd/lnisystd-disk0 of size 4
exceptions.TypeError
__init__() got an unexpected keyword argument 'bus'
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 225, in main
    k.run()
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 356, in run
    self.virt()
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 675, in virt
    return self.net_install(after_download)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 594, in net_install
    after_download(self, profile_data)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 673, in 
after_download
    self.virt_net_install(profile_data)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 1157, in 
virt_net_install
    qemu_driver_type =  self.qemu_disk_type
   File "/usr/lib/python2.4/site-packages/koan/qcreate.py", line 158, in 
start_install
    guest.disks.append(virtinst.VirtualDisk(d[0], size=d[1], 
bus=qemu_driver_type))

________________________________

The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. This message may 
be an attorney-client communication and/or work product and as such is 
privileged and confidential. If the reader of this message is not the intended 
recipient or an agent responsible for delivering it to the intended recipient, 
you are hereby notified that you have received this document in error and that 
any review, dissemination, distribution, or copying of this message is strictly 
prohibited. If you have received this communication in error, please notify us 
immediately by e-mail, and delete the original message.
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to