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
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
With xen 3.0, the parameter "xend-unix-server" must be set to "yes" in the /etc/xen/xend-config.sxp configuration file for virt-manager and virt-install to work. It is set to "no" by default. Maybe it is the same with xen 3.2. Hope this helps. Alain Barthe 2008/5/29 <amazab@ncsu.edu>:> 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 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> On Thu, May 29, 2008 at 10:43 AM, <amazab@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, > > Cliff >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ahmed, Building Xen 3.2.1 from source via cloning Mercurial Repository@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 ----- Original Message ---- From: "amazab@ncsu.edu" <amazab@ncsu.edu> To: xen-users@lists.xensource.com Cc: Cliff Pratt <enkiduonthenet@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, <amazab@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, > > Cliff >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/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 > Repository@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" <bderzhavets@yahoo.com> > > > ----- Original Message ---- > From: "amazab@ncsu.edu" <amazab@ncsu.edu> > To: xen-users@lists.xensource.com > Cc: Cliff Pratt <enkiduonthenet@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, <amazab@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, >> >> Cliff >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ahmed, I''ve just checked my own F8(64-bit) instance been installed xen-disabled with Xen 3.2.1 compiled from source on top of it. No virt-install python executable script on the system. As far as to my knowledge (regarding Xen 3.2.X Linux Dom0s) only Ubuntu 8.04 pretend to have virt-install ready to go in it''s Repositories at mean time. I''ve just filed a bug on mentioned case. What about your stuff ... 1. Perform F8 clean install (xen-disabled) (better CentOS 5.1) 2. Build Xen # cd /usr/src/ # hg clone http://xenbits.xensource.com/xen-3.2-testing.hg # cd xen-3.2-testing.hg # make world # make installand etc. No mess and no virt-install :-) I guess the best case scenario Ubuntu 8.04.01 , hopefully with working virt-install. Thank you. Boris ----- Original Message ---- From: "amazab@ncsu.edu" <amazab@ncsu.edu> To: xen-users@lists.xensource.com Cc: Boris Derzhavets <bderzhavets@yahoo.com> Sent: Thursday, May 29, 2008 12:05:23 PM Subject: Re: [Xen-users] Virt-install not working 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 > Repository@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" <bderzhavets@yahoo.com> > > > ----- Original Message ---- > From: "amazab@ncsu.edu" <amazab@ncsu.edu> > To: xen-users@lists.xensource.com > Cc: Cliff Pratt <enkiduonthenet@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, <amazab@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, >> >> Cliff >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
It worked, Thanks Alain. However, I still have further problems: 1- I still cannot get "Virtual Machine Manager" to work, I feel it is another configurations problem 2- I created a domain using the "xm create <domain name>" then I just shut it down. When I do "xm start <domain name>" it says "<domain name> does not exist". How can I get xm to recognize previously created domains. 3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a specific toold to see events that occur in the hypervisor during the real time? Ahmed> With xen 3.0, the parameter "xend-unix-server" must be set to "yes" in > the > /etc/xen/xend-config.sxp configuration file for virt-manager and > virt-install to work. It is set to "no" by default. Maybe it is the same > with xen 3.2. > > Hope this helps. > > Alain Barthe > > 2008/5/29 <amazab@ncsu.edu>: > >> 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 >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
*************************************************
Trying to reproduce on Xen 3.2.1 F8 Dom0 (64-bit)
**************************************************
Before follow Alain:-
[root@serverf8xen32 ~]# yum install python-virtinst
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package python-virtinst.noarch 0:0.300.2-4.fc8 set to be updated
--> Processing Dependency: libvirt-python >= 0.2.1 for package:
python-virtinst
--> Running transaction check
---> Package libvirt-python.x86_64 0:0.4.2-1.fc8 set to be updated
--> Processing Dependency: libvirt = 0.4.2 for package: libvirt-python
--> Processing Dependency: libxenstore.so.3.0()(64bit) for package:
libvirt-python
--> Processing Dependency: libvirt.so.0()(64bit) for package: libvirt-python
--> Running transaction check
---> Package libvirt.x86_64 0:0.4.2-1.fc8 set to be updated
--> Processing Dependency: /usr/bin/qemu-img for package: libvirt
--> Processing Dependency: iscsi-initiator-utils for package: libvirt
---> Package xen-libs.x86_64 0:3.1.2-2.fc8 set to be updated
--> Running transaction check
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.865-0.2.fc8 set to be
updated
---> Package qemu.x86_64 0:0.9.0-7.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================
Package Arch Version Repository Size
============================================================================Installing:
python-virtinst noarch 0.300.2-4.fc8 updates 157 k
Installing for dependencies:
iscsi-initiator-utils x86_64 6.2.0.865-0.2.fc8 fedora 531 k
libvirt x86_64 0.4.2-1.fc8 updates 1.1 M
libvirt-python x86_64 0.4.2-1.fc8 updates 84 k
qemu x86_64 0.9.0-7.fc8 updates 4.4 M
xen-libs x86_64 3.1.2-2.fc8 updates 144 k
Transaction Summary
============================================================================Install
6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 6.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): qemu-0.9.0-7.fc8.x 100% |=========================| 4.4 MB 02:38
(2/6): xen-libs-3.1.2-2.f 100% |=========================| 144 kB 00:04
(3/6): iscsi-initiator-ut 100% |=========================| 531 kB 00:17
(4/6): python-virtinst-0. 100% |=========================| 157 kB 00:05
(5/6): libvirt-python-0.4 100% |=========================| 84 kB 00:02
(6/6): libvirt-0.4.2-1.fc 100% |=========================| 1.1 MB 00:37
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xen-libs ######################### [1/6]
Installing: qemu ######################### [2/6]
Installing: iscsi-initiator-utils ######################### [3/6]
Installing: libvirt ######################### [4/6]
Installing: libvirt-python ######################### [5/6]
Installing: python-virtinst ######################### [6/6]
Installed: python-virtinst.noarch 0:0.300.2-4.fc8
Dependency Installed: iscsi-initiator-utils.x86_64 0:6.2.0.865-0.2.fc8
libvirt.x86_64 0:0.4.2-1.fc8 libvirt-python.x86_64 0:0.4.2-1.fc8 qemu.x86_64
0:0.9.0-7.fc8 xen-libs.x86_64 0:3.1.2-2.fc8
Complete!
[root@serverf8xen32 ~]# ls -l /usr/bin/virt-install
-rwxr-xr-x 1 root root 21079 2008-03-19 15:05 /usr/bin/virt-install
Next:-
bridge name bridge id STP enabled interfaces
eth2 8000.001e8c25cca5 no peth2
virbr0 8000.000000000000 yes
Make changes to /etc/xen/xend-conf.sxp
# service xend restart
# service libvitd restart
Known picture for F8.
Next:-
Mount loop RHEL51.iso on /mnt/tmp
and make it a share folder - add to /etc/exports , nfsd restart
Next:-
[root@serverf8xen32 isos]# virt-install
Would you like a fully virtualized guest (yes or no)? This will allow you to
run unmodified operating systems. no
What is the name of your virtual machine? RHL51
How much RAM should be allocated (in megabytes)? 1024
What would you like to use as the disk (file path)? /dev/sdb11
Would you like to enable graphics support? (yes or no) yes
What is the install location? nfs:192.168.1.34:/mnt/tmp
Starting install...
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 0
(vif) could not be connected. Hotplug scripts not working.'')
virDomainCreateLinux() failed POST operation failed: (xend.err ''Device
0 (vif) could not be connected. Hotplug scripts not working.'')
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start RHL51''; otherwise, please
restart your installation.
Thu, 29 May 2008 13:37:03 ERROR virDomainCreateLinux() failed POST operation
failed: (xend.err ''Device 0 (vif) could not be connected. Hotplug
scripts not working.'')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 502, in <module>
main()
File "/usr/sbin/virt-install", line 462, in main
dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 813,
in start_install
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 834,
in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 833, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'', conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err
''Device 0 (vif) could not be connected. Hotplug scripts not
working.'')
/var/log/xend/xend.log:-
[2008-05-29 13:35:21 24964] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2008-05-29 13:35:21 24964] DEBUG (DevController:151) Waiting for devices vif.
[2008-05-29 13:35:21 24964] DEBUG (DevController:156) Waiting for 0.
[2008-05-29 13:35:21 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:36:19 24964] INFO (XendDomain:1165) Domain RHL51 (5) unpaused.
[2008-05-29 13:37:01 24964] ERROR (SrvBase:88) Request wait_for_devices failed.
Traceback (most recent call last):
File "//usr/lib64/python/xen/web/SrvBase.py", line 85, in perform
return op_method(op, req)
File "//usr/lib64/python/xen/xend/server/SrvDomain.py", line 85, in
op_wait_for_devices
return self.dom.waitForDevices()
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 586, in
waitForDevices
self.getDeviceController(devclass).waitForDevices()
File "//usr/lib64/python/xen/xend/server/DevController.py", line
152, in waitForDevices
return map(self.waitForDevice, self.deviceIDs())
File "//usr/lib64/python/xen/xend/server/DevController.py", line
167, in waitForDevice
(devid, self.deviceClass))
VmError: Device 0 (vif) could not be connected. Hotplug scripts not working.
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy:
domid=5
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1914)
XendDomainInfo.destroyDomain(5)
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1529) Destroying device model
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vif/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vbd/51712
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vkbd/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vkbd, device = vkbd/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vfb/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing console/0
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/
0
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:1534) No device model
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
----- Original Message ----
From: "amazab@ncsu.edu" <amazab@ncsu.edu>
To: Alain Barthe <ab266061@gmail.com>; xen-users@lists.xensource.com
Sent: Thursday, May 29, 2008 12:39:59 PM
Subject: Re: [Xen-users] Virt-install not working
It worked, Thanks Alain.
However, I still have further problems:
1- I still cannot get "Virtual Machine Manager" to work, I feel it is
another configurations problem
2- I created a domain using the "xm create <domain name>" then I
just shut
it down. When I do "xm start <domain name>" it says
"<domain name> does
not exist". How can I get xm to recognize previously created domains.
3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a
specific toold to see events that occur in the hypervisor during the real
time?
Ahmed
> With xen 3.0, the parameter "xend-unix-server" must be set to
"yes" in
> the
> /etc/xen/xend-config.sxp configuration file for virt-manager and
> virt-install to work. It is set to "no" by default. Maybe it is
the same
> with xen 3.2.
>
> Hope this helps.
>
> Alain Barthe
>
> 2008/5/29 <amazab@ncsu.edu>:
>
>> 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
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
**************************************************************** Attempt fo follow Alain on Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) *************************************************************** [root@dhcppc3 ~]# yum install python-virtinst Loading "installonlyn" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for python-virtinst to pack into transaction set. python-virtinst-0.103.0-3 100% |=========================| 7.8 kB 00:00 ---> Package python-virtinst.noarch 0:0.103.0-3.el5.centos set to be updated --> Running transaction check --> Processing Dependency: libvirt-python >= 0.2.1 for package: python-virtinst --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libvirt-python to pack into transaction set. libvirt-python-0.2.3-9.el 100% |=========================| 13 kB 00:00 ---> Package libvirt-python.x86_64 0:0.2.3-9.el5 set to be updated --> Running transaction check --> Processing Dependency: libvirt.so.0()(64bit) for package: libvirt-python --> Processing Dependency: libxenstore.so.3.0()(64bit) for package: libvirt-python --> Processing Dependency: libvirt = 0.2.3 for package: libvirt-python --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libvirt to pack into transaction set. libvirt-0.2.3-9.el5.x86_6 100% |=========================| 24 kB 00:00 ---> Package libvirt.x86_64 0:0.2.3-9.el5 set to be updated ---> Downloading header for xen-libs to pack into transaction set. xen-libs-3.0.3-41.el5_1.6 100% |=========================| 29 kB 00:01 ---> Package xen-libs.x86_64 0:3.0.3-41.el5_1.6 set to be updated --> Running transaction check --> Processing Dependency: xen for package: libvirt --> Processing Dependency: dnsmasq for package: libvirt --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for dnsmasq to pack into transaction set. dnsmasq-2.39-2.el5.x86_64 100% |=========================| 7.1 kB 00:00 ---> Package dnsmasq.x86_64 0:2.39-2.el5 set to be updated ---> Downloading header for xen to pack into transaction set. xen-3.0.3-41.el5_1.6.x86_ 100% |=========================| 86 kB 00:01 ---> Package xen.x86_64 0:3.0.3-41.el5_1.6 set to be updated --> Running transaction check --> Processing Dependency: xen-hypervisor-abi = 3.1 for package: xen --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for kernel-xen to pack into transaction set. kernel-xen-2.6.18-53.1.21 100% |=========================| 259 kB 00:07 ---> Package kernel-xen.x86_64 0:2.6.18-53.1.21.el5 set to be updated --> Running transaction check Dependencies Resolved ============================================================================ Package Arch Version Repository Size ============================================================================Installing: python-virtinst noarch 0.103.0-3.el5.centos base 63 k Installing for dependencies: dnsmasq x86_64 2.39-2.el5 base 151 k kernel-xen x86_64 2.6.18-53.1.21.el5 updates 16 M libvirt x86_64 0.2.3-9.el5 base 657 k libvirt-python x86_64 0.2.3-9.el5 base 63 k xen x86_64 3.0.3-41.el5_1.6 updates 1.9 M xen-libs x86_64 3.0.3-41.el5_1.6 updates 134 k Transaction Summary ============================================================================Install 7 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 19 M Is this ok [y/N]: y Downloading Packages: (1/7): libvirt-0.2.3-9.el 100% |=========================| 657 kB 00:21 (2/7): xen-libs-3.0.3-41. 100% |=========================| 134 kB 00:03 (3/7): kernel-xen-2.6.18- 100% |=========================| 16 MB 09:34 (4/7): dnsmasq-2.39-2.el5 100% |=========================| 151 kB 00:05 (5/7): python-virtinst-0. 100% |=========================| 63 kB 00:01 (6/7): xen-3.0.3-41.el5_1 100% |=========================| 1.9 MB 01:13 (7/7): libvirt-python-0.2 100% |=========================| 63 kB 00:01 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: xen-libs ######################### [1/7] Installing: dnsmasq ######################### [2/7] Installing: kernel-xen ######################### [3/7] Installing: libvirt-python ######################### [4/7] Installing: libvirt ######################### [5/7] Installing: python-virtinst ######################### [6/7] Installing: xen [7/7]warning: /etc/sysconfig/xendomains created as /etc/sysconfig/xendomains.rpmnew Installing: xen [7/7]warning: /etc/xen/qemu-ifup created as /etc/xen/qemu-ifup.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/blktap created as /etc/xen/scripts/blktap.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/block created as /etc/xen/scripts/block.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/block-common.sh created as /etc/xen/scripts/block-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/block-enbd created as /etc/xen/scripts/block-enbd.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/block-nbd created as /etc/xen/scripts/block-nbd.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/external-device-migrate created as /etc/xen/scripts/external-device-migrate.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/locking.sh created as /etc/xen/scripts/locking.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/logging.sh created as /etc/xen/scripts/logging.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/network-bridge created as /etc/xen/scripts/network-bridge.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/network-nat created as /etc/xen/scripts/network-nat.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/network-route created as /etc/xen/scripts/network-route.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vif-bridge created as /etc/xen/scripts/vif-bridge.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vif-common.sh created as /etc/xen/scripts/vif-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vif-nat created as /etc/xen/scripts/vif-nat.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vif-route created as /etc/xen/scripts/vif-route.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm created as /etc/xen/scripts/vtpm.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm-common.sh created as /etc/xen/scripts/vtpm-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm-delete created as /etc/xen/scripts/vtpm-delete.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm-hotplug-common.sh created as /etc/xen/scripts/vtpm-hotplug-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm-impl created as /etc/xen/scripts/vtpm-impl.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/vtpm-migration.sh created as /etc/xen/scripts/vtpm-migration.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/xen-hotplug-cleanup created as /etc/xen/scripts/xen-hotplug-cleanup.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/xen-hotplug-common.sh created as /etc/xen/scripts/xen-hotplug-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/xen-network-common.sh created as /etc/xen/scripts/xen-network-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/scripts/xen-script-common.sh created as /etc/xen/scripts/xen-script-common.sh.rpmnew Installing: xen [7/7]warning: /etc/xen/xend-config.sxp created as /etc/xen/xend-config.sxp.rpmnew Installing: xen [7/7]warning: /etc/xen/xend-pci-permissive.sxp created as /etc/xen/xend-pci-permissive.sxp.rpmnew Installing: xen [7/7]warning: /etc/xen/xend-pci-quirks.sxp created as /etc/xen/xend-pci-quirks.sxp.rpmnew Installing: xen [7/7]warning: /etc/xen/xmexample.hvm created as /etc/xen/xmexample.hvm.rpmnew Installing: xen [7/7]warning: /etc/xen/xmexample.vti created as /etc/xen/xmexample.vti.rpmnew Installing: xen [7/7]warning: /etc/xen/xmexample1 created as /etc/xen/xmexample1.rpmnew Installing: xen [7/7]warning: /etc/xen/xmexample2 created as /etc/xen/xmexample2.rpmnew Installing: xen ######################### [7/7] ************************************************************** That is much more consistent and much more understandable. Xen-kenel 3.1.2 gets downloaded and installed to work with corresponding version of libvirtd,virt-install,... ************************************************************** Thanks -b. ----- Original Message ---- From: "amazab@ncsu.edu" <amazab@ncsu.edu> To: Alain Barthe <ab266061@gmail.com>; xen-users@lists.xensource.com Sent: Thursday, May 29, 2008 12:39:59 PM Subject: Re: [Xen-users] Virt-install not working It worked, Thanks Alain. However, I still have further problems: 1- I still cannot get "Virtual Machine Manager" to work, I feel it is another configurations problem 2- I created a domain using the "xm create <domain name>" then I just shut it down. When I do "xm start <domain name>" it says "<domain name> does not exist". How can I get xm to recognize previously created domains. 3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a specific toold to see events that occur in the hypervisor during the real time? Ahmed> With xen 3.0, the parameter "xend-unix-server" must be set to "yes" in > the > /etc/xen/xend-config.sxp configuration file for virt-manager and > virt-install to work. It is set to "no" by default. Maybe it is the same > with xen 3.2. > > Hope this helps. > > Alain Barthe > > 2008/5/29 <amazab@ncsu.edu>: > >> 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 >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
*************************************************
Trying to reproduce on Xen 3.2.1 F8 Dom0 (64-bit)
**************************************************
Before follow Alain:-
[root@serverf8xen32 ~]# yum install python-virtinst
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package python-virtinst.noarch 0:0.300.2-4.fc8 set to be updated
--> Processing Dependency: libvirt-python >= 0.2.1 for package:
python-virtinst
--> Running transaction check
---> Package libvirt-python.x86_64 0:0.4.2-1.fc8 set to be updated
--> Processing Dependency: libvirt = 0.4.2 for package: libvirt-python
--> Processing Dependency: libxenstore.so.3.0()(64bit) for package:
libvirt-python
--> Processing Dependency: libvirt.so.0()(64bit) for package: libvirt-python
--> Running transaction check
---> Package libvirt.x86_64 0:0.4.2-1.fc8 set to be updated
--> Processing Dependency: /usr/bin/qemu-img for package: libvirt
--> Processing Dependency: iscsi-initiator-utils for package: libvirt
---> Package xen-libs.x86_64 0:3.1.2-2.fc8 set to be updated
--> Running transaction check
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.865-0.2.fc8 set to be
updated
---> Package qemu.x86_64 0:0.9.0-7.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================
Package Arch Version Repository Size
============================================================================Installing:
python-virtinst noarch 0.300.2-4.fc8 updates 157 k
Installing for dependencies:
iscsi-initiator-utils x86_64 6.2.0.865-0.2.fc8 fedora 531 k
libvirt x86_64 0.4.2-1.fc8 updates 1.1 M
libvirt-python x86_64 0.4.2-1.fc8 updates 84 k
qemu x86_64 0.9.0-7.fc8 updates 4.4 M
xen-libs x86_64 3.1.2-2.fc8 updates 144 k
Transaction Summary
============================================================================Install
6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 6.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): qemu-0.9.0-7.fc8.x 100% |=========================| 4.4 MB 02:38
(2/6): xen-libs-3.1.2-2.f 100% |=========================| 144 kB 00:04
(3/6): iscsi-initiator-ut 100% |=========================| 531 kB 00:17
(4/6): python-virtinst-0. 100% |=========================| 157 kB 00:05
(5/6): libvirt-python-0.4 100% |=========================| 84 kB 00:02
(6/6): libvirt-0.4.2-1.fc 100% |=========================| 1.1 MB 00:37
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: xen-libs ######################### [1/6]
Installing: qemu ######################### [2/6]
Installing: iscsi-initiator-utils ######################### [3/6]
Installing: libvirt ######################### [4/6]
Installing: libvirt-python ######################### [5/6]
Installing: python-virtinst ######################### [6/6]
Installed: python-virtinst.noarch 0:0.300.2-4.fc8
Dependency
Installed: iscsi-initiator-utils.x86_64 0:6.2.0.865-0.2.fc8
libvirt.x86_64 0:0.4.2-1.fc8 libvirt-python.x86_64 0:0.4.2-1.fc8
qemu.x86_64 0:0.9.0-7.fc8 xen-libs.x86_64 0:3.1.2-2.fc8
Complete!
[root@serverf8xen32 ~]# ls -l /usr/bin/virt-install
-rwxr-xr-x 1 root root 21079 2008-03-19 15:05 /usr/bin/virt-install
Next:-
bridge name bridge id STP enabled interfaces
eth2 8000.001e8c25cca5 no peth2
virbr0 8000.000000000000 yes
Make changes to /etc/xen/xend-conf.sxp
# service xend restart
# service libvitd restart
Known picture for F8.
Next:-
Mount loop RHEL51.iso on /mnt/tmp
and make it a share folder - add to /etc/exports , nfsd restart
Next:-
[root@serverf8xen32 isos]# virt-install
Would you like a fully virtualized guest (yes or no)? This will allow you to
run unmodified operating systems. no
What is the name of your virtual machine? RHL51
How much RAM should be allocated (in megabytes)? 1024
What would you like to use as the disk (file path)? /dev/sdb11
Would you like to enable graphics support? (yes or no) yes
What is the install location? nfs:192.168.1.34:/mnt/tmp
Starting install...
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
libvir:
Xen Daemon error : POST operation failed: (xend.err ''Device 0 (vif)
could not be connected. Hotplug scripts not working.'')
virDomainCreateLinux()
failed POST operation failed: (xend.err ''Device 0 (vif) could not be
connected. Hotplug scripts not working.'')
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start RHL51''; otherwise, please
restart your installation.
Thu,
29 May 2008 13:37:03 ERROR virDomainCreateLinux() failed POST
operation failed: (xend.err ''Device 0 (vif) could not be connected.
Hotplug scripts not working.'')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 502, in <module>
main()
File "/usr/sbin/virt-install", line 462, in main
dom = guest.start_install(conscb,progresscb)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 813,
in start_install
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 834,
in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 833, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'', conn=self)
libvirtError:
virDomainCreateLinux() failed POST operation failed: (xend.err ''Device
0 (vif) could not be connected. Hotplug scripts not working.'')
/var/log/xend/xend.log:-
[2008-05-29 13:35:21 24964] DEBUG (XendDomainInfo:1092)
XendDomainInfo.handleShutdownWatch
[2008-05-29 13:35:21 24964] DEBUG (DevController:151) Waiting for devices vif.
[2008-05-29 13:35:21 24964] DEBUG (DevController:156) Waiting for 0.
[2008-05-29 13:35:21 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:36:19 24964] INFO (XendDomain:1165) Domain RHL51 (5) unpaused.
[2008-05-29 13:37:01 24964] ERROR (SrvBase:88) Request wait_for_devices failed.
Traceback (most recent call last):
File "//usr/lib64/python/xen/web/SrvBase.py", line 85, in perform
return op_method(op, req)
File "//usr/lib64/python/xen/xend/server/SrvDomain.py", line 85, in
op_wait_for_devices
return self.dom.waitForDevices()
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 586, in
waitForDevices
self.getDeviceController(devclass).waitForDevices()
File "//usr/lib64/python/xen/xend/server/DevController.py", line
152, in waitForDevices
return map(self.waitForDevice, self.deviceIDs())
File "//usr/lib64/python/xen/xend/server/DevController.py", line
167, in waitForDevice
(devid, self.deviceClass))
VmError: Device 0 (vif) could not be connected. Hotplug scripts not working.
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy:
domid=5
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1914)
XendDomainInfo.destroyDomain(5)
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1529) Destroying device model
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vif/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vbd/51712
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vkbd/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vkbd, device = vkbd/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing vfb/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0
[2008-05-29 13:37:02 24964] DEBUG (XendDomainInfo:1542) Removing console/0
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:590)
XendDomainInfo.destroyDevice: deviceClass = console, device = console/
0
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:1534) No device model
[2008-05-29 13:37:03 24964] DEBUG (XendDomainInfo:1536) Releasing devices
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
[2008-05-29 13:38:25 24964] DEBUG (DevController:595) hotplugStatusCallback
/local/domain/0/backend/vif/5/0/hotplug-status.
----- Original Message ----
From: "amazab@ncsu.edu" <amazab@ncsu.edu>
To: Alain Barthe <ab266061@gmail.com>; xen-users@lists.xensource.com
Sent: Thursday, May 29, 2008 12:39:59 PM
Subject: Re: [Xen-users] Virt-install not working
It worked, Thanks Alain.
However, I still have further problems:
1- I still cannot get "Virtual Machine Manager" to work, I feel it is
another configurations problem
2- I created a domain using the "xm create <domain name>" then I
just shut
it down. When I do "xm start <domain name>" it says
"<domain name> does
not exist". How can I get xm to recognize previously created domains.
3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a
specific toold to see events that occur in the hypervisor during the real
time?
Ahmed
> With xen 3.0, the parameter "xend-unix-server" must be set to
"yes" in
> the
> /etc/xen/xend-config.sxp configuration file for virt-manager and
> virt-install to work. It is set to "no" by default. Maybe it is
the same
> with xen 3.2.
>
> Hope this helps.
>
> Alain Barthe
>
> 2008/5/29 <amazab@ncsu.edu>:
>
>> 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
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
In my case upgrade Xen 3.2.1-rc5 to 3.2.1 at F8 Dom0 (64-bit)
did allow to put virt-install from F8 repos in work and create CentOS 5.1
DomU . Installer ran just fine (DHCP DomU configuration).
However, created <Domain> been viewed in "xm
list"
output hanged during reboot and appeared to be unmanageable by xm.
1. xm start <Domain> hangs
2. xm console <Domain> hangs
online_vcpus gets zerroed at attempt to start <Domain>.
Domain also was brought into paused state.
xm unpause <Domain> didn''t help much.
Daemons xenstored,xenconsoled,bpkctrl were running exactly
as on Xen 3.1.2 F8 Dom0.
Just in case , i also activated service xendomains with no luck
Thank you.
Boris.
29/08, amazab@ncsu.edu <amazab@ncsu.edu> wrote:
From: amazab@ncsu.edu <amazab@ncsu.edu>
Subject: Re: [Xen-users] Virt-install not working
To: "Alain Barthe" <ab266061@gmail.com>,
xen-users@lists.xensource.com
Date: Thursday, May 29, 2008, 12:39 PM
It worked, Thanks Alain.
However, I still have further problems:
1- I still cannot get "Virtual Machine Manager" to work, I feel it is
another configurations problem
2- I created a domain using the "xm create <domain
name>" then
I just shut
it down. When I do "xm start <domain name>" it says
"<domain name> does
not exist". How can I get xm to recognize previously created domains.
3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a
specific toold to see events that occur in the hypervisor during the real
time?
Ahmed
> With xen 3.0, the parameter "xend-unix-server" must be set to
"yes" in
> the
> /etc/xen/xend-config.sxp configuration file for virt-manager and
> virt-install to work. It is set to "no" by default. Maybe it
is
the same
> with xen 3.2.
>
> Hope this helps.
>
> Alain Barthe
>
> 2008/5/29 <amazab@ncsu.edu>:
>
>> 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
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
--- On Thu, 5/29/08, amazab@ncsu.edu <amazab@ncsu.edu> wrote:
From: amazab@ncsu.edu <amazab@ncsu.edu>
Subject: Re: [Xen-users] Virt-install not working
To: "Alain Barthe" <ab266061@gmail.com>,
xen-users@lists.xensource.com
Date: Thursday, May 29, 2008, 12:39 PM
It worked, Thanks Alain.
However, I still have further problems:
1- I still cannot get "Virtual Machine Manager" to work, I feel it is
another configurations problem
*****************************************************
Actually, one doesn''t need virt-manager to manipulate
with Domains created by virt-install (like on Nevada)
xm start <Domain>
xm shutdown <Domain>
xm console <Domain>
xm reboot <Domain>
All this commands hangs with PV CentOS 5.1 DomU
at Xen 3.2.1 F8 Dom0 (64-bit).
DomU has been successfully created with
virt-install installed from F8 repositories
************************************************
2- I created a domain using the "xm create <domain
name>" then
I just shut
it down. When I do "xm start <domain name>" it says
"<domain name> does
not exist". How can I get xm to recognize previously created domains.
3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a
specific toold to see events that occur in the hypervisor during the real
time?
Ahmed
> With xen 3.0, the parameter "xend-unix-server" must be set to
"yes" in
> the
> /etc/xen/xend-config.sxp configuration file for virt-manager and
> virt-install to work. It is set to "no" by default. Maybe it
is
the same
> with xen 3.2.
>
> Hope this helps.
>
> Alain Barthe
>
> 2008/5/29 <amazab@ncsu.edu>:
>
>> 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
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Creating same PV DomU at Xen 3.1 F8 Dom0 works fine.
"xm list -l" reports that bootloader for PVM is /usr/bin/pygrub.
Native pygrub on F8 Dom0 and pygrub compiled from source
at Xen 3.2.1 F8 Dom0 have different lengths.I didn''t run
"diff" to get details.
My guess is:-
Virt-install creates image specific for "pygrub" bootloader - that is
a root cause of issue. DomU create by virt-install from
"python_libvirt" (F8 repos) is expecting native pygrub bootloader to
be managed properly by "xm"
When you try to do that at Xeb 3.2.1 Dom0 another ( not native) pygrub
appears to be invoked as bootloader and it doesn''t work.
I also don''t know how many python executables scripts might
be invoked
when " xm start <Domain>" is issued.
That is my inderstanding of the mess you''ve got after install
"python_libvirt" from F8 repos. Actually, for hard core xen developer
it shouldn''t be a mess , but virt-install at Ubuntu 8.04 Dom0
(2-6.24-17-xen) is comletely useless at mean time.
--- On Fri, 5/30/08, Boris Derzhavets <bderzhavets@yahoo.com>
wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-users] Virt-install not working
To: "Alain Barthe" <ab266061@gmail.com>,
xen-users@lists.xensource.com, amazab@ncsu.edu
Date: Friday, May 30, 2008, 1:14 PM
--- On Thu, 5/29/08, amazab@ncsu.edu <amazab@ncsu.edu> wrote:
From: amazab@ncsu.edu <amazab@ncsu.edu>
Subject: Re: [Xen-users] Virt-install not working
To: "Alain Barthe" <ab266061@gmail.com>,
xen-users@lists.xensource.com
Date: Thursday, May 29, 2008, 12:39 PM
It worked, Thanks Alain.
However, I still have further problems:
1- I still cannot get "Virtual Machine Manager" to work, I feel it is
another configurations problem
*****************************************************
Actually, one doesn''t need virt-manager to manipulate
with Domains created
by virt-install (like on Nevada)
xm start <Domain>
xm shutdown <Domain>
xm console <Domain>
xm reboot <Domain>
All this commands hangs with PV CentOS 5.1 DomU
at Xen 3.2.1 F8 Dom0 (64-bit).
DomU has been successfully created with
virt-install installed from F8 repositories
************************************************
2- I created a domain using the "xm create <domain
name>" then
I just shut
it down. When I do "xm start <domain name>" it says
"<domain name> does
not exist". How can I get xm to recognize previously created domains.
3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a
specific toold to see events that occur in the hypervisor during the real
time?
Ahmed
> With xen 3.0, the parameter "xend-unix-server" must be set to
"yes" in
> the
> /etc/xen/xend-config.sxp configuration file for
virt-manager and
> virt-install to work. It is set to "no" by default. Maybe it
is
the same
> with xen 3.2.
>
> Hope this helps.
>
> Alain Barthe
>
> 2008/5/29 <amazab@ncsu.edu>:
>
>> 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
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Ahmed Moneeb Azab
2008-Jun-02 20:57 UTC
[Xen-users] Re: Virt-install and pygrub (bootloader)
Thanks Boris, this is so helpful. Currently I can create domains with virt-install, after I shutdown these domains I still can see them by the "xm -list" command. However, when I edit a new config file and save it to "/etc/xen" and use the command "xm create <config file>" the guest appears successfully. However, after I shut it down, I cannot see it with "xm-list" Ahmed Boris Derzhavets wrote:> Creating same PV DomU at Xen 3.1 F8 Dom0 works fine. > "xm list -l" reports that bootloader for PVM is /usr/bin/pygrub. > Native pygrub on F8 Dom0 and pygrub compiled from source > at Xen 3.2.1 F8 Dom0 have different lengths.I didn''t run "diff" to get > details. > My guess is:- > Virt-install creates image specific for "pygrub" bootloader - that is > a root cause of issue. DomU create by virt-install from > "python_libvirt" (F8 repos) is expecting native pygrub bootloader to > be managed properly by "xm" > When you try to do that at Xeb 3.2.1 Dom0 another ( not native) > pygrub appears to be invoked as bootloader and it doesn''t work. > I also don''t know how many python executables scripts might be invoked > when " xm start <Domain>" is issued. > That is my inderstanding of the mess you''ve got after install > "python_libvirt" from F8 repos. Actually, for hard core xen developer > it shouldn''t be a mess , but virt-install at Ubuntu 8.04 Dom0 > (2-6.24-17-xen) is comletely useless at mean time. > > --- On *Fri, 5/30/08, Boris Derzhavets /<bderzhavets@yahoo.com>/* wrote: > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [Xen-users] Virt-install not working > To: "Alain Barthe" <ab266061@gmail.com>, > xen-users@lists.xensource.com, amazab@ncsu.edu > Date: Friday, May 30, 2008, 1:14 PM > > > > --- On *Thu, 5/29/08, amazab@ncsu.edu /<amazab@ncsu.edu>/* wrote: > > From: amazab@ncsu.edu <amazab@ncsu.edu> > Subject: Re: [Xen-users] Virt-install not working > To: "Alain Barthe" <ab266061@gmail.com>, > xen-users@lists.xensource.com > Date: Thursday, May 29, 2008, 12:39 PM > > It worked, Thanks Alain. > > However, I still have further problems: > > 1- I still cannot get "Virtual Machine Manager" to work, I feel it is > another configurations problem > ***************************************************** > Actually, one doesn''t need virt-manager to manipulate > with Domains created > by virt-install (like on > Nevada) > xm start <Domain> > xm shutdown <Domain> > xm console <Domain> > xm reboot <Domain> > All this commands hangs with PV CentOS 5.1 DomU > at Xen 3.2.1 F8 Dom0 (64-bit). > DomU has been successfully created with > virt-install installed from F8 repositories > ************************************************ > 2- I created a domain using the "xm create <domain name>" then > I just shut > it down. When I do "xm start <domain name>" it says > "<domain name> does > not exist". How can I get xm to recognize previously created domains. > > 3- How can I see the Xen logs from Dom-0. Where are they saved? Is there a > specific toold to see events that occur in the hypervisor during the real > time? > > Ahmed > > > With xen 3.0, the parameter "xend-unix-server" must be set to > "yes" in > > the > > /etc/xen/xend-config.sxp configuration file for > virt-manager and > > > virt-install to work. It is set to "no" by default. Maybe it is > the same > > with xen 3.2. > > > > Hope this helps. > > > > Alain Barthe > > > > 2008/5/29 <amazab@ncsu.edu>: > > > >> 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 > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xensource.com > >> http://lists.xensource.com/xen-users > >> > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Jun-03 10:32 UTC
[Xen-users] Re: Virt-install and pygrub (bootloader)
Ahmed, Looks like you have not read my the most recent messages to xen-user
list.Xen 3.2.1 /usr/bin/pygrub has a minor bug (on 64-bit), which is supposed to
befixed, on 32-bit it should work fine without any manual intervention.Please,
view the final draft at
:-http://lxer.com/module/newswire/view/103573/index.htmlThanks.Boris--- On Mon,
6/2/08, Ahmed Moneeb Azab <amazab@ncsu.edu> wrote:From: Ahmed
Moneeb Azab <amazab@ncsu.edu>Subject: Re: Virt-install and pygrub
(bootloader)To: bderzhavets@yahoo.com, "Alain Barthe"
<ab266061@gmail.com>, xen-users@lists.xensource.comDate: Monday,
June 2, 2008, 4:57 PMThanks Boris, this is so helpful. Currently I can create
domains with virt-install, after I shutdown these domains I still can see them
by the "xm -list" command. However, when I edit a new config file and
save it to "/etc/xen" and use the command "xm create
<config file>" the guest appears successfully. However, after
I shut
it down, I cannot see it with "xm-list" Ahmed Boris Derzhavets
wrote: > Creating same PV DomU at Xen 3.1 F8 Dom0 works fine. >
"xm list -l" reports that bootloader for PVM is /usr/bin/pygrub.
> Native pygrub on F8 Dom0 and pygrub compiled from source > at
Xen 3.2.1 F8 Dom0 have different lengths.I didn''t run "diff"
to get > details. > My guess is:- > Virt-install creates
image specific for "pygrub" bootloader - that is > a root
cause of issue. DomU create by virt-install from >
"python_libvirt" (F8 repos) is expecting native pygrub bootloader to
> be managed properly by "xm" > When you try to do that
at Xeb 3.2.1 Dom0 another ( not native) > pygrub appears to be invoked
as bootloader and it doesn''t work. > I also don''t know
how many python executables scripts might be invoked > when " xm
start <Domain>" is issued. > That is my inderstanding
of the mess you''ve got after install >
"python_libvirt" from F8 repos. Actually, for hard core xen developer
> it shouldn''t be a mess , but virt-install at Ubuntu 8.04 Dom0
> (2-6.24-17-xen) is comletely useless at mean time. > >
--- On *Fri, 5/30/08, Boris Derzhavets /<bderzhavets@yahoo.com>/*
wrote: > > From: Boris Derzhavets
<bderzhavets@yahoo.com> > Subject: Re: [Xen-users]
Virt-install not working > To: "Alain Barthe"
<ab266061@gmail.com>, > xen-users@lists.xensource.com,
amazab@ncsu.edu > Date: Friday, May 30, 2008, 1:14 PM >
> > > --- On *Thu, 5/29/08, amazab@ncsu.edu
/<amazab@ncsu.edu>/* wrote: > > From:
amazab@ncsu.edu <amazab@ncsu.edu> > Subject: Re:
[Xen-users] Virt-install not working > To: "Alain
Barthe" <ab266061@gmail.com>, >
xen-users@lists.xensource.com > Date: Thursday, May 29, 2008,
12:39 PM > > It
worked, Thanks Alain. > > However, I still have further
problems: > > 1- I still cannot get "Virtual Machine
Manager" to work, I feel it is > another configurations
problem > *****************************************************
> Actually, one doesn''t need virt-manager to manipulate
> with Domains created > by virt-install (like on
> Nevada) > xm start <Domain>
> xm shutdown <Domain> > xm console
<Domain> > xm reboot <Domain>
> All this commands hangs with PV CentOS 5.1 DomU >
at Xen 3.2.1 F8 Dom0 (64-bit). > DomU has been successfully
created with > virt-install installed from F8 repositories
> ************************************************ >
2- I created a domain using the "xm create <domain
name>" then >
I just shut > it down. When I do "xm start <domain
name>" it says > "<domain name>
does > not exist". How can I get xm to recognize previously
created domains. > > 3- How can I see the Xen logs from
Dom-0. Where are they saved? Is there a > specific toold to see
events that occur in the hypervisor during the real > time?
> > Ahmed > > > With xen 3.0,
the parameter "xend-unix-server" must be set to >
"yes" in > > the > >
/etc/xen/xend-config.sxp configuration file for > virt-manager
and > > > virt-install to work. It is set
to "no" by default. Maybe it is > the same >
> with xen 3.2. > > > > Hope
this helps. > > > > Alain Barthe
> > > > 2008/5/29
<amazab@ncsu.edu>: > > >
>> 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 > >> >
>> _______________________________________________ >
>> Xen-users mailing list > >>
Xen-users@lists.xensource.com > >>
http://lists.xensource.com/xen-users > >> >
> > > >
_______________________________________________ > Xen-users
mailing list > Xen-users@lists.xensource.com >
http://lists.xensource.com/xen-users > > >
_______________________________________________ > Xen-users mailing
list > Xen-users@lists.xensource.com >
http://lists.xensource.com/xen-users > >
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users