[...]
> That report is about libvirt-python not koan. There's no need to add a
> dependancy to the koan specfile to enforce a requirement of libvirt for
> python 2.3 - simply adding the Requires: line to the libvirt-python
> specfile is sufficient.
>
> Regards.
> Dan.
>
Speaking of koan (if we are speaking about koan?) it doesn't even need
that. Current behavior (again, to support koan on RHEL3 and places where
Xen isn't installed) is to only try to import virt modules when running
the virt commands, s.t. koan still works on non Xen aware platforms. If
it's trying to import virt stuff when doing "--replace-self", we have
issues though -- shouldn't be doing that.
Here's the error message I saw, in case it helps. If not, please disregard. Sorry, I should've had this in the original post.
# koan --virt --profile="" --server=build01
- processing profile: c2profile
- fetching configuration for profile: c2profile
- url="" href="http://build01/cobbler/profiles/c2profile">http://build01/cobbler/profiles/c2profile
- {'kickstart': 'http://build01/cobbler_track/kickstarts/c2profile/ks.cfg', 'name': 'c2profile', 'virt_ram': 512, 'repos': '', 'kernel_options': 'lang ksdevice=eth0 text devfs=nomount ramdisk_size=16438', 'virt_name': 'virtguest', 'virt_file_size': 5, 'distro': 'c2distro', 'virt_paravirt': 'True', 'ks_meta': ''}
- fetching configuration for distro: c2distro
- url="" href="http://build01/cobbler/distros/c2distro">http://build01/cobbler/distros/c2distro
- {'kernel': '/boot/vmlinuz-2.6-xen', 'ks_meta': '', 'kernel_options': 'lang ksdevice=eth0 text devfs=nomount ramdisk_size=16438', 'initrd': '/boot/initrd- xen-3.0.3-0.img', 'arch': 'x86', 'name': 'c2distro'}
- downloading initrd initrd-xen-3.0.3-0.img to /tmp/initrd-xen-3.0.3-0.img
- url="" href="http://build01/cobbler/images/c2distro/initrd-xen-3.0.3-0.img"> http://build01/cobbler/images/c2distro/initrd-xen-3.0.3-0.img
- downloading kernel vmlinuz-2.6-xen to /tmp/vmlinuz-2.6-xen
- url="" href="http://build01/cobbler/images/c2distro/vmlinuz-2.6-xen">http://build01/cobbler/images/c2distro/vmlinuz-2.6-xen
- kernel saved = /tmp/vmlinuz-2.6-xen
- initrd saved = /tmp/initrd-xen-3.0.3-0.img
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/koan/app.py", line 97, in main
k.run()
File "/usr/lib/python2.3/site-packages/koan/app.py", line 155, in run
self.do_virt()
File "/usr/lib/python2.3/site-packages/koan/app.py", line 296, in do_virt
return self.do_net_install ("/tmp",after_download)
File "/usr/lib/python2.3/site-packages/koan/app.py", line 254, in do_net_install
after_download(self, distro_data, profile_data)
File "/usr/lib/python2.3/site-packages/koan/app.py", line 295, in after_download
self.do_virt_net_install(profile_data, distro_data)
File "/usr/lib/python2.3/site-packages/koan/app.py", line 595, in do_virt_net_install
extra=kextra
File "/usr/lib/python2.3/site-packages/koan/virtcreate.py", line 173, in start_paravirt_install
import libvirt
File "/usr/lib/python2.3/site-packages/libvirt.py", line 7, in ?
import libvirtmod
ImportError: /usr/lib/python2.3/site-packages/libvirtmod.so: undefined symbol: PyEval_ThreadsInitialized
--
Adam Monsen