[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Virt-install not working
**************************************************************** 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@xxxxxxxx" <amazab@xxxxxxxx> To: Alain Barthe <ab266061@xxxxxxxxx>; xen-users@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxx>: > >> 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@xxxxxxxxxxxxxxxxxxx >> http://lists.xensource.com/xen-users >> > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |