atom feed15 messages in com.xensource.lists.xen-usersRe: [Xen-users] Virt-install not working
FromSent OnAttachments
ama...@ncsu.eduMay 28, 2008 3:43 pm 
Alain BartheMay 29, 2008 12:18 am 
ama...@ncsu.eduMay 29, 2008 8:17 am 
Boris DerzhavetsMay 29, 2008 8:54 am 
ama...@ncsu.eduMay 29, 2008 9:05 am 
Boris DerzhavetsMay 29, 2008 9:32 am 
ama...@ncsu.eduMay 29, 2008 9:39 am 
Boris DerzhavetsMay 29, 2008 10:56 am 
Boris DerzhavetsMay 29, 2008 11:35 am 
Boris DerzhavetsMay 29, 2008 11:54 am 
Boris DerzhavetsMay 30, 2008 5:53 am 
Boris DerzhavetsMay 30, 2008 10:14 am 
Boris DerzhavetsJun 1, 2008 3:20 am 
Ahmed Moneeb AzabJun 2, 2008 1:57 pm 
Boris DerzhavetsJun 3, 2008 3:32 am 
Subject:Re: [Xen-users] Virt-install not working
From:ama...@ncsu.edu (ama@ncsu.edu)
Date:May 29, 2008 9:05:23 am
List:com.xensource.lists.xen-users

That is absolutely right! When I installed Xen from the source, there were no virt-install associated with it. That is why I built mine from the FC8 repository!!

How can I reorganize this mess?

Ahmed

Ahmed, Building Xen 3.2.1 from source via cloning Mercurial Repo@xensource.com to CentOS 5.1 instance (been installed as xen-disabled) doesn't creaty new "virt-install" file at all. Please , make sure that virt-install you fire up , hasn't been installed with F8's files and is newly generated file during Xen 3.2.1 building from source. Thank you. Boris"Boris Derzhavets" <bder@yahoo.com>

----- Original Message ---- From: "ama@ncsu.edu" <ama@ncsu.edu> To: xen-@lists.xensource.com Cc: Cliff Pratt <enki@gmail.com> Sent: Thursday, May 29, 2008 11:17:28 AM Subject: Re: [Xen-users] Virt-install not working

On Thu, May 29, 2008 at 10:43 AM, <ama@ncsu.edu> wrote:

Hi all,

I installed Xen 3.2.1 on FC8 from the source, It is working fine and I even created a virtual machine, however I cannot use the "Virtual Machine Manager" it does not even respond and when I try to use virt-install, I get the message:

Traceback (most recent call last): File "/usr/sbin/virt-install", line 502, in <module> main() File "/usr/sbin/virt-install", line 345, in main conn = cli.getConnection(options.connect) File "/usr/lib/python2.5/site-packages/virtinst/cli.py", line 76, in getConnection return libvirt.open(connect) File "/usr/lib/python2.5/site-packages/libvirt.py", line 135, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirtError: virConnectOpen() failed

Thanks In Advance, Ahmed

Hi, Are you booted off the correct kernel?

Yeah sure, it is 2.6.18.8-Xen, I got it through mercurial after I totally failed to convince the Xen source to use the downloaded tarball. However, I feel that i have a problem with Xend, as I got the following errors in the Xend log.

[2008-05-29 10:56:14 3622] INFO (SrvDaemon:331) Xend Daemon started [2008-05-29 10:56:14 3622] INFO (SrvDaemon:335) Xend changeset: unavailable. [2008-05-29 10:56:14 3622] INFO (SrvDaemon:342) Xend version: Unknown. [2008-05-29 10:56:14 3622] INFO (XendNetwork:114) Not recreating missing unmanaged network tmpbridge [2008-05-29 10:56:14 3622] DEBUG (XendDomainInfo:132) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 46531729537L, 'ssidref': 120, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 1048576L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'}) [2008-05-29 10:56:14 3622] INFO (XendDomainInfo:149) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2008-05-29 10:56:14 3622] DEBUG (XendDomainInfo:2195) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ))', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'name': 'Domain-0'} [2008-05-29 10:56:14 3622] DEBUG (XendDomainInfo:1008) Storing domain details: {'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '1048576', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'security_label': '', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'console/type': 'xenconsoled'} [2008-05-29 10:56:14 3622] DEBUG (XendDomain:443) Adding Domain: 0 [2008-05-29 10:56:14 3622] DEBUG (XendDomain:379) number of vcpus to use is 0 [2008-05-29 10:56:14 3622] DEBUG (XendDomainInfo:1092) XendDomainInfo.handleShutdownWatch [2008-05-29 10:56:14 3622] WARNING (XendAPI:678) API call: VBD.set_device not found [2008-05-29 10:56:14 3622] WARNING (XendAPI:678) API call: VBD.set_type not found [2008-05-29 10:56:14 3622] WARNING (XendAPI:678) API call: session.get_all_records not found [2008-05-29 10:56:14 3622] WARNING (XendAPI:678) API call: event.get_record not found [2008-05-29 10:56:14 3622] WARNING (XendAPI:678) API call: event.get_all not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VM.get_auto_power_on not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VM.set_auto_power_on not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VIF.get_network not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VIF.set_device not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VIF.set_MAC not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: VIF.set_MTU not found [2008-05-29 10:56:15 3622] WARNING (XendAPI:678) API call: debug.get_all not found [2008-05-29 10:56:15 3622] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2008-05-29 10:56:15 3622] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.

Cheers,