Hi Michael, i''m sending your response to fedora-xen mailing list for
any
comments from them.
About your answer, the machine where i want to create a new virtual node
is the 136.145.116.76. This machine has two virtual nodes up and running,
so i think that message is not a hypervisor problem, the hypervisor is
working.
The other hand, last week i create two additional virtual nodes, in that
machine (116.76), the problem appear today.
Asides, the distro and profile configuration keep the same.
I can''t understand why today, provisioning with cobbler stop to work.
Thanks a lot to fedora-xen mailing list for your comments and thanks Michael.
> John Sanabria wrote:
>> Hi,
>>
>> the last week i had executed the next line command to create a virtual
>> nodes in 136.145.116.76 host:
>>
>> cobbler enchant --virt=yes --address=136.145.116.76
>> --profile="xentemplate-profile"
>>
>> and it work.
>>
>> Today, i try again to execute the command and appear that message:
>>
>> running: ssh -o ''StrictHostKeyChecking=no'' -o
''HostKeyAlias
>> nocobblerhostkey'' root@136.145.116.76 wget
>> http://136.145.116.114/cobbler/koan-0.2.8-1.noarch.rpm
>> Warning: Permanently added ''nocobblerhostkey'' (RSA)
to the list of known
>> hosts.
>> --11:18:07-- http://136.145.116.114/cobbler/koan-0.2.8-1.noarch.rpm
>> Connecting to 136.145.116.114:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 93410 (91K) [application/x-rpm]
>> Saving to: `koan-0.2.8-1.noarch.rpm''
>>
>> 0K .......... .......... .......... .......... .......... 54%
4.08M
>> 0s
>> 50K .......... .......... .......... .......... . 100%
>> 14.1M=0.01s
>>
>> 11:18:08 (6.00 MB/s) - `koan-0.2.8-1.noarch.rpm'' saved
[93410/93410]
>>
>> returns: 0
>> running: ssh -o ''StrictHostKeyChecking=no'' -o
''HostKeyAlias
>> nocobblerhostkey'' root@136.145.116.76 up2date install syslinux
>> libvirt-python libvirt
>> bash: up2date: command not found
>> returns: 127
>> running: ssh -o ''StrictHostKeyChecking=no'' -o
''HostKeyAlias
>> nocobblerhostkey'' root@136.145.116.76 yum -y install syslinux
>> libvirt-python libvirt
>> Loading "installonlyn" plugin
>> Setting up Install Process
>> Setting up repositories
>> Reading repository metadata in from local files
>> Parsing package install arguments
>> Nothing to do
>> returns: 0
>> running: ssh -o ''StrictHostKeyChecking=no'' -o
''HostKeyAlias
>> nocobblerhostkey'' root@136.145.116.76 rpm -Uvh
koan-0.2.8-1.noarch.rpm
>> --force --nodeps
>> Preparing...
>> ##################################################
>> koan
>> ##################################################
>> returns: 0
>> running: ssh -o ''StrictHostKeyChecking=no'' -o
''HostKeyAlias
>> nocobblerhostkey'' root@136.145.116.76 koan --virt
>> --profile=xentemplate-profile --server=136.145.116.114
>> - processing profile: xentemplate-profile
>> - fetching configuration for profile: xentemplate-profile
>> - url=http://136.145.116.114/cobbler/profiles/xentemplate-profile
>> - {''kickstart'':
>>
''http://136.145.116.114/cobbler_track/kickstarts/xentemplate-profile/ks.cfg'',
>> ''name'': ''xentemplate-profile'',
''virt_ram'': 256, ''repos'':
'''',
>> ''kernel_options'': ''lang= ksdevice=eth0 text
syslog=136.145.116.114:25150
>> devfs=nomount ramdisk_size=16438 append '',
''virt_name'': ''xentemplate'',
>> ''virt_file_size'': 6, ''distro'':
''xentemplate'', ''virt_paravirt'':
''True'',
>> ''ks_meta'': ''''}
>> - fetching configuration for distro: xentemplate
>> - url=http://136.145.116.114/cobbler/distros/xentemplate
>> - {''kernel'': ''/root/vmlinuz'',
''ks_meta'': '''', ''breed'':
''redhat'',
>> ''kernel_options'': ''lang= ksdevice=eth0 text
syslog=136.145.116.114:25150
>> devfs=nomount ramdisk_size=16438 append '',
''initrd'': ''/root/initrd.img'',
>> ''arch'': ''x86'',
''name'': ''xentemplate''}
>> - downloading initrd initrd.img to /tmp/initrd.img
>> - url=http://136.145.116.114/cobbler/images/xentemplate/initrd.img
>> -libvir: error : no support for hypervisor
>> 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
>> 183,
>> in __init__
>> self.conn = libvirt.open(hypervisorURI)
>> downloading kernel vmlinuz to /tmp/vmlinuz
>> - url=http://136.145.116.114/cobbler/images/xentemplate/vmlinuz
>> - kernel saved = /tmp/vmlinuz
>> - initrd saved = /tmp/initrd.img
>> File "/usr/lib/python2.4/site-packages/libvirt.py", line
95, in open
>> if ret is None:raise libvirtError(''virConnectOpen()
failed'')
>> libvirtError: virConnectOpen() failed no support for hypervisor
>> returns: 3
>> Traceback (most recent call last):
>> File
"/usr/lib/python2.4/site-packages/cobbler/action_enchant.py",
>> line
>> 101, in run
>> self.ssh_exec("koan %s --profile=%s --server=%s" %
(operation,
>> self.profile, self.settings.server))
>> File
"/usr/lib/python2.4/site-packages/cobbler/action_enchant.py",
>> line
>> 57, in ssh_exec
>> raise
cexceptions.CobblerException("enchant_failed","ssh failure")
>> CobblerException: ''enchant failed (ssh failure)''
>> enchant failed (exception)
>>
>> ----------------------------
>>
>> Any suggestions.
>>
>> the machine where command were submitted has the next configuration:
>>
>> uname -a : "Linux reboot 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4
>> 16:59:41 EST 2007 i686 i686 i386 GNU/Linux"
>> koan: 0.2.7-1.fc6
>> cobbler: 0.4.3-0.fc6
>>
>> thanks a lot for your answer.
>>
>>
>>
>>
>> http://ece.uprm.edu/~s047267
>> http://del.icio.us/josanabr
>> http://blog-grid.blogspot.com
>>
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools@redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>
>
> I think the key is...
>
> "-libvir: error : no support for hypervisor"
>
> From the above, it looks like you''re getting an error from Xen or
> libvirt, rather than from something cobbler/koan related.
>
> Are you sure you are installing a Xen kernel image vs a plain one? Is
> xend running? I''m really not super-up on libvirt error messages,
so
> perhaps Dan/Hugh can field this. You could always ask fedora-xen as
> well.
>
> --Michael
>
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
http://ece.uprm.edu/~s047267
http://del.icio.us/josanabr
http://blog-grid.blogspot.com