[et-mgmt-tools] Re: koan giving error after cobbler import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am extremely sorry but I forgot to service xend start.
Thanks for the new cobbler it's working so far great.

On 4/6/07, niyaz chistee < prime.provogue@xxxxxxxxx> wrote:
Hello,
I downloaded cobbler 0.4.6 and installed it over my 0.4.5 version. Now I ran:
cobbler import --name=rhel5 --mirror=/rhel5/Dump/
It finally completed without any errors. Then I did a:
cobbler report
distro          : rhel5
kernel          : /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/vmlinuz
initrd          : /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/initrd.img
kernel options  : {}
architecture    : x86
ks metadata     : {'tree': ' http://192.168.1.5/cblr/links/rhel5'}
breed           : redhat

distro          : rhel5-xen
kernel          : /var/www/cobbler/ks_mirror/rhel5/images/xen/vmlinuz
initrd          : /var/www/cobbler/ks_mirror/rhel5/images/xen/initrd.img
kernel options  : {}
architecture    : x86
ks metadata     : {'tree': ' http://192.168.1.5/cblr/links/rhel5-xen'}
breed           : redhat

profile         : rhel5
distro          : rhel5
kickstart       : /etc/cobbler/kickstart_fc6.ks
kernel options  : {}
ks metadata     : {}
virt file size  : 5
virt ram        : 512
virt paravirt   : True
repos           : []

profile         : rhel5-xen
distro          : rhel5-xen
kickstart       : /etc/cobbler/kickstart_fc6.ks
kernel options  : {}
ks metadata     : {}
virt file size  : 5
virt ram        : 512
virt paravirt   : True
repos           : []

All looked fine. I didn't wanted the same virt file size and virt ram for my rhel5-xen profile so I edited /var/lib/cobbler/profiles and did:
cobbler sync
After that I did:
koan --virt --server=192.168.1.5 --profile="">And it gave this:
- processing profile: rhel5-xen
- fetching configuration for profile: rhel5-xen
- url="" href="http://192.168.1.5/cobbler/profiles/rhel5-xen" target="_blank" >http://192.168.1.5/cobbler/profiles/rhel5-xen
- {'kickstart': ' http://192.168.1.5/cblr/kickstarts/rhel5-xen/ks.cfg ', 'name': 'rhel5-xen', 'virt_ram': 256, 'repos': [], 'kernel_options': 'ksdevice=eth0 lang=  syslog= 192.168.1.5:25150 text ', 'virt_file_size': 2, 'distro': 'rhel5-xen', 'virt_paravirt': 'True', 'ks_meta': ''}
- fetching configuration for distro: rhel5-xen
- url="" href="http://192.168.1.5/cobbler/distros/rhel5-xen" target="_blank" >http://192.168.1.5/cobbler/distros/rhel5-xen
- {'kernel': '/var/www/cobbler/ks_mirror/rhel5/images/xen/vmlinuz', 'ks_meta': 'tree= http://192.168.1.5/cblr/links/rhel5-xen ', 'breed': 'redhat', 'source_repos': [[' http://192.168.1.5/cobbler/ks_mirror/config/rhel5-xen-0.repo', 'http://192.168.1.5/cobbler/ks_mirror/rhel5/ClusterStorage' ], [' http://192.168.1.5/cobbler/ks_mirror/config/rhel5-xen-1.repo', ' http://192.168.1.5/cobbler/ks_mirror/rhel5/Cluster' ], ['http://192.168.1.5/cobbler/ks_mirror/config/rhel5-xen-2.repo', ' http://192.168.1.5/cobbler/ks_mirror/rhel5/vt'], ['http://192.168.1.5/cobbler/ks_mirror/config/rhel5-xen-3.repo ', ' http://192.168.1.5/cobbler/ks_mirror/rhel5/Server']], 'kernel_options': 'ksdevice=eth0 lang=  syslog= 192.168.1.5:25150 text ', 'initrd': '/var/www/cobbler/ks_mirror/rhel5/images/xen/initrd.img', 'arch': 'x86', 'name': 'rhel5-xen'}
- downloading initrd initrd.img to /tmp/initrd.img
- url="" href="http://192.168.1.5/cobbler/images/rhel5-xen/initrd.img" target="_blank" >http://192.168.1.5/cobbler/images/rhel5-xen/initrd.img
- downloading kernel vmlinuz to /tmp/vmlinuz
- url="" href="http://192.168.1.5/cobbler/images/rhel5-xen/vmlinuz" target="_blank" >http://192.168.1.5/cobbler/images/rhel5-xen/vmlinuz
- kernel saved = /tmp/vmlinuz
- initrd saved = /tmp/initrd.img
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main
    k.run()
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 152, in run
    self.do_virt()
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 297, in do_virt
    return self.do_net_install("/tmp",after_download)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in do_net_install
    after_download(self, distro_data, profile_data)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 296, in after_download
    self.do_virt_net_install(profile_data, distro_data)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 600, in do_virt_net_install
    extra=kextra
  File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 84, in start_paravirt_install
    guest = virtinst.ParaVirtGuest()
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 37, in __init__
    XenGuest.XenGuest.__init__(self, hypervisorURI=hypervisorURI)
  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 184, in __init__
    self.conn = libvirt.open(hypervisorURI)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 39, in open
    if ret is None:raise libvirtError('virConnectOpen() failed')
libvirtError: virConnectOpen() failed

I guess this is due to the new cobbler 0.4.6. koan became un-stable. Or maybe I am wrong. Correct me.
Thanks in advance.

Regards
SysAdmin


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux