From: Fasiha Ashraf Subject: RE: Virt-manager issue resolved Date: Thu, 5 Nov 2009 14:36:42 +0530 (IST) Message-ID: <907894.56570.qm@web94616.mail.in2.yahoo.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0255613361==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'xen' , Caz Yokoyama Cc: 'Fedora Xen' , virt-tools-list@redhat.com List-Id: xen-devel@lists.xenproject.org --===============0255613361== Content-Type: multipart/alternative; boundary="0-48583-1257412002=:56570" --0-48583-1257412002=:56570 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please send the output of #iptables -L Regards, Fasiha Ashraf --- On Thu, 5/11/09, Caz Yokoyama wrote: From: Caz Yokoyama Subject: RE: [Xen-devel] Virt-manager issue resolved To: "'Fasiha Ashraf'" , "'xen'" Cc: virt-tools-list@redhat.com, "'Fedora Xen'" Date: Thursday, 5 November, 2009, 11:03 AM =0A=0A=0A =0A =0A=0A=0A=0A=0A=0A=0A=0AHello Fasiha, =0A=0AThank you for sum= marizing=0Athe procedure. I don=E2=80=99t have xend running. Here is the pr= ocedure I did. =0A=0AInstall Fedora 11=0Ax86_64, full update. =0A=0Asu =0A= =0Ayum install=0Atransfig texi2html libaio-devel dev86 glibc-devel.i586 =0A= =0Ayum install PyXML=0Abridge-utils qemu-img qemu-common =0A=0Awget=0Ahttp:= //kojipkgs.fedoraproject.org/packages/xen/3.4.1/5.fc12/src/xen-3.4.1-5.fc12= .src.rpm =0A=0Arpm -ivh=0Axen-3.4.1-5.fc12.src.rpm =0A=0Acd =0A=0Acd rpmbu= ild/SPECS/ =0A=0Arpmbuild -bb=0Axen.spec =0A=0Acd ~/rpmbuild/RPMS/x86_64 = =0A=0Arpm -ivh *.rpm =0A=0Acat >=0A/etc/yum.repos.d/fedora-virt-preview.rep= o << EOF =0A=0A[virt-preview] =0A=0Aname=3DVirtualization=0ARawhide for Fed= ora 11 =0A=0Abaseurl=3Dhttp://markmc.fedorapeople.org/virt-preview/f11/\$ba= search/ =0A=0Aenabled=3D1 =0A=0Agpgcheck=3D0 =0A=0AEOF =0A=0Ayum install li= bvirt=0Alibvirt-python python-virtinst virt-manager virt-viewer =0A=0Arpm -= qa | grep virt =0A=0Acd virt-manager =0A=0Agit clone=0Agit://git.kernel.org= /pub/scm/linux/kernel/git/Jeremy/xen.git JeremyDom0 =0A=0Amake menuconfig = =0A=0Amake all =0A=0Asu =0A=0Amake=0Amodules_install install =0A=0Areboot w= ith xen =0A=0A =C2=A0 =0A=0A> Does "virsh=0Alist" work =0A=0A# virsh list = =0A=0Aerror: Unable to connect=0Ato =E2=80=98localhost:8000=E2=80=99: Conne= ction refused =0A=0Aerror: failed to connect=0Ato the hypervisor =0A=0A = =C2=A0 =0A=0A=E2=80=9C/etc/init.d/xend=0Astart=E2=80=9D failed because /usr= /sbin/xend returns 1. =0A=0A =C2=A0 =0A=0ASuggestion? I have=0Aattached .co= nfig. =0A=0A-caz =0A=0A =C2=A0 =0A=0A=0A=0A=0A=0A=0A=0A=0A=0AFrom: Fasiha A= shraf=0A[mailto:feehapk@yahoo.co.in]=20 =0ASent: Thursday, October 29, 2009=0A10:31 PM =0ATo: 'xen'; Caz Yokoyama =0ACc: virt-tools-list@redhat.com;=0A'Fedora Xen' =0ASubject: RE: [Xen-devel]=0AVirt-manager issue resolved =0A=0A=0A=0A =C2= =A0 =0A=0A=0A =0A =0A =C2=A0Latest virt-manager doesn't work=0A with the= previous version of libvirt on fc11. You need to build xen and=0A latest = libvirt form rpm. Follow the steps below. =0A =C2=A0 =0A Install package= s=0A required by rpmbuild:- =0A # yum install transfig texi2html libaio-devel dev86=0A glibc-devel.i5= 86 =0A Download=0A xen-3.4.1-1.fc12.src.rpm =0A # wget=0A http://kojipkgs.fedoraproject.org/packages/xen/3.4.1/1.fc12= /src/xen-3.4.1-1.fc12.src.rpm =0A # rpm=0A -iv xen-3.4.1-1.fc12.src.rpm =0A # cd=0A /root/rpmbuild/SPECS =0A #=0A rpmbuild -ba ./xen.spec =0A To install hypervisor=0A and tools =0A # cd ../RPMS/x86_64 =0A # yum=0A install xen-3.4.1-1.fc11.x86_64.rpm \ =0A xen-debuginfo-3.4.1-1.fc11.x86_64.rpm=0A \ =0A xen-devel-3.4.1-1.fc11.x86_64.rpm=0A \ =0A xen-doc-3.4.1-1.fc11.x86_64.rpm=0A \ =0A xen-hypervisor-3.4.1-1.fc11.x86_64.rpm=0A \ =0A xen-libs-3.4.1-1.fc11.x86_64.rpm=0A \ =0A xen-runtime-3.4.1-1.fc11.x86_64.rpm =0A To install new=0A libvirt-0.= 7.0-6 =0A # cat > /etc/yum.repos.d/fedora-virt-preview.repo << EOF =0A [virt-preview] =0A name=3DVirtualization=0A Rawhide for Fedora 11 =0A baseurl=3Dhttp://markmc.fedorapeople.org/virt-preview/f11/\$basearch/ =0A enabled=3D1 =0A gpgcheck=3D0 =0A EOF =0A =20 =0A # yum=0A install libvirt libvirt-python python-virtinst \ =0A virt-manager=0A virt-viewer =0A # rpm -qa|grep virt =0A the followi= ng list must be there may be with higher=0A version numbers. =0A libvirt-= client-0.7.0-6.fc11.x86_64 =0A libvirt-python-0.7.0-6.fc11.x86_64 =0A virt-viewer-0.2.0-1.fc11.x86_64 =0A virt-manager-0.7.0-5.fc11.x86_64 =0A libvirt-0.7.0-6.fc11.x86_64 =0A python-virtinst-0.500.0-1.fc11.noarch =0A =20 =0A All the above steps should be done on the base kernel. Now compile and= build=0A xen with paravirt kernel. Now boot into the new xen kernel after= starting=0A xend run this =0A # xm info =0A to check. now you can use = virt-manager in your=0A set-up =0A =20 =0A Regards, =0A Fasiha Ashraf =0A =20 =0A --- On Thu, 29/10/09, Caz Yokoyama =0A wrote: = =0A =20 =0A From: Caz Yokoyama =0A Subject: RE: [Xen-devel] Virt-manager issue resolved =0A To: "'Fasiha Ashraf'" ,=0A "'xen'" =0A Cc: virt-tools-list@redhat.com, "'Fedora Xen'"=0A =0A Date: Thursday, 29 October, 2009, 6:19 PM =0A =0A =0A Could you sum= marize the procedure? I am trying=0A to run virt-manager on Fedora 11 with= Xen-3.5-unstable and Jeremy=E2=80=99s=0A Dom0 (git://git.kernel.org/pub/s= cm/linux/kernel/git/Jeremy/xen.git). I am=0A wondering what option should = be good on make on xen-3.5-unstable. I did =0A Make xen tools =0A Make in= stall-xen install-tools =0A What else I need do? =0A Booting dom0 is fine= . =0A -caz =0A =0A =0A =0A =0A =0A =0A From:=0A xen-devel-bounces@= lists.xensource.com=0A [mailto:xen-devel-bounces@lists.xensource.com] On B= ehalf Of Fasiha Ashraf =0A Sent: Tuesday, October 27, 2009 4:49=0A AM =0A To: Cole Robinson; xen =0A Cc: Fedora Xen;=0A virt-tools-list@redhat.com =0A Subject: [Xen-devel]=0A Virt-manager issue resolved =0A =0A =C2=A0 = =0A =0A =0A =0A I have got para-virt option enabled by=0A insta= lling vm using through http. the problem was, i was trying to install=0A = it from DVD. Now the issue is it doesn't find the file on the givern=0A = location although i can access them from the same location in browser. PFA= ,=0A the screen shots for the problem. =0A =20 =0A Regards =0A Fasiha Ashraf =0A =20 =0A --- On Mon, 26/10/09, Cole Robinson =0A wrot= e: =0A =20 =0A From: Cole Robinson =0A Subject: Re: [virt-tools-list] Unable to complete install: 'Domain n= ot=0A found: xenUnifiedDomainLookupByName =0A To: "Fasiha Ashraf" =0A Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen=0A us= ers" , "Fedora Xen"=0A =0A Date: Monday, 26 October, 2009, 7:08 PM =0A =0A On 10/26/2009 = 09:24 AM, Fasiha Ashraf wrote: =0A > It seem that its trying to install HVM guest that is not possible= =0A using virt-manager. =0A > But you can see from the attached screen shot that virt type optio= n is=0A disabled and i can't select paravirt from it. what should i do? =0A > here's the log .virt-manager/virt-manager.log =0A >=20 =0A =20 =0A Please include the other information I asked for: =0A =20 =0A virsh --connect xen:/// capabilities =0A virsh --connect xen:/// version =0A =20 =0A - Cole =0A =20 =0A > [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG=0A (DistroI= nstaller:119) DistroInstaller location is a local file/path:=0A /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG=0A (DistroI= nstaller:119) DistroInstaller location is a local file/path:=0A /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877)= =0A Default storage path is: /var/lib/libvirt/images/f.img =0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:7= 37)=0A Path '/var/lib/libvirt/images' is target for pool 'default'. Crea= ting=0A volume 'f.img'. =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG=0A (DistroI= nstaller:119) DistroInstaller location is a local file/path:=0A /dev/sr0 =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877)= =0A Default storage path is: /var/lib/libvirt/images/f.img =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (VirtualDisk:7= 37)=0A Path '/var/lib/libvirt/images' is target for pool 'default'. Crea= ting=0A volume 'f.img'. =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516)= =0A Creating a VM f =0A >=C2=A0=C2=A0=C2=A0Type: xen,hvm =0A >=C2=A0=C2=A0=C2=A0UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 =0A >=C2=A0=C2=A0=C2=A0Install Source: /dev/sr0 =0A >=C2=A0=C2=A0=C2=A0OS: linux:fedora11 =0A >=C2=A0=C2=A0=C2=A0Kernel args: None =0A >=C2=A0=C2=A0=C2=A0Memory: 512 =0A >=C2=A0=C2=A0=C2=A0Max Memory: 512 =0A >=C2=A0=C2=A0=C2=A0# VCPUs: 1 =0A >=C2=A0=C2=A0=C2=A0Filesize: 7.0 =0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1565)= =0A Starting background install process =0A > [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950)= =0A Creating storage volume 'f.img' with xml: =0A > =0A >=C2=A0=C2=A0=C2=A0f.img =0A >=C2=A0=C2=A0=C2=A07516192768 =0A >=C2=A0=C2=A0=C2=A07516192768 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A > =0A > [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973)= =0A Storage volume 'f.img' install complete. =0A > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724)=0A= Creating guest from: =0A > =0A >=C2=A0=C2=A0=C2=A0f =0A >=C2=A0=C2=A0=C2=A0524288 =0A >=C2=A0=C2=A0=C2=A0524288 =0A >=C2=A0=C2=A0=C2=A001f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0hvm =0A >=C2=A0=0A =C2=A0=C2=A0=C2=A0/usr/lib/xen/boot/hvmloader<= /loader> =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A0destroy =0A >=C2=A0=C2=A0=C2=A01 =0A >=C2=A0=C2=A0=C2=A0 =0A >=C2=A0=0A =C2=A0=C2=A0=C2=A0/usr/lib64/xen/bin/qemu-dm= =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0 =C2=A0=C2=A0=C2=A0 =0A >=C2=A0=C2=A0=C2=A0 =0A > =0A >=20 =0A > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (netdevhelper:= 176)=0A Adding net device vif3.0 fe:ff:ff:ff:ff:ff /sys/class/net/vif3.0= (bridge:=0A None) =0A > [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) T= ick=0A is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) T= ick=0A is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) T= ick=0A is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) T= ick=0A is slow, not running at requested rate. =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:= 138)=0A Removing physical net device vif3.0 from list. =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG=0A (optical= helper:205) Optical device removed:=0A /org/freedesktop/Hal/devices/net_= fe_ff_ff_ff_ff_ff =0A > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76)=0A = Uncaught Error: Unable to complete install: 'POST operation failed:=0A = xend_post: error from xen $ =0A > Traceback (most recent call last): =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/share/virt-manager/virtManager/c= reate.py", line 1575, in=0A do_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0dom =3D guest.start_install(False, meter = =3D=0A meter) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib/python2.6/site-packages/virt= inst/Guest.py", line 628,=0A in start_install =0A > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",=0A l= ine 628, in start_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0return self._do_install(consolecb, meter,= =0A removeOld, wait) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib/python2.6/site-packages/virt= inst/Guest.py", line 726,=0A in _do_install =0A >=C2=A0 =C2=A0=C2=A0=C2=A0self.domain =3D self.conn.createLinux(inst= all_xml,=0A 0) =0A >=C2=A0=C2=A0=C2=A0File=0A "/usr/lib64/python2.6/site-packages/li= bvirt.py", line 1077, in=0A createLinux =0A >=C2=A0 =C2=A0=C2=A0=C2=A0if ret is None:raise=0A libvirtError('v= irDomainCreateLinux() failed', conn=3Dself) =0A > libvirtError: POST operation failed: xend_post: error from xen dae= mon:=0A =0A > ' =0A > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377)= =0A window counter decremented to 0 =0A > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385)= =0A Exiting app normally. =0A >=20 =0A >=20 =0A >=20 =0A > Fasiha Ashraf =0A >=20 =0A > --- On Mon, 26/10/09, Cole Robinson wrote: =0A >=20 =0A > From: Cole Robinson =0A > Subject: Re: [virt-tools-list] Unable to complete install: 'Domain= not=0A found: xenUnifiedDomainLookupByName =0A > To: "Fasiha Ashraf" =0A > Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen=0A = users" , "Fedora Xen"=0A =0A > Date: Monday, 26 October, 2009, 5:58 PM =0A >=20 =0A > On 10/26/2009 06:48 AM, Fasiha Ashraf wrote: =0A >> Hi all =0A >> I am facing this error while installing Guest VM on FC11 using=0A= virt-manager =0A >> Unable to complete install '=0A = Domain not found: xenUnifiedDomainLookupByName =0A >> Traceback (most recent call last): =0A >>=C2=A0 =C2=A0 File "/usr/share/virt-manager/virtManager/create.py"= ,=0A line 1575, in do_install =0A >>=C2=A0 =C2=A0 =C2=A0 dom =3D guest.start_install(False, meter =3D= =0A meter) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib/python2.6/site-packages/virtins= t/Guest.py", line 628,=0A in start_install =0A >>=C2=A0 =C2=A0 =C2=A0 return self._do_install(consolecb, meter,=0A = removeOld, wait) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib/python2.6/site-packages/virtins= t/Guest.py", line 726,=0A in _do_install =0A >>=C2=A0 =C2=A0 =C2=A0 self.domain =3D=0A self.conn.createLinux(i= nstall_xml, 0) =0A >>=C2=A0 =C2=A0 File=0A "/usr/lib64/python2.6/site-packages/libvi= rt.py", line 1077, in=0A createLinux =0A >>=C2=A0 =C2=A0 =C2=A0 if ret is =0A >>=C2=A0=C2=A0=C2=A0None:raise libvirtError('virDomainCreateLinux()= =0A failed', conn=3Dself) =0A >> libvirtError: Domain not found: xenUnifiedDomainLookupByName =0A >> ' =0A >> What should i do to avoid it? please help! =0A >> Boris! How did you create PV guests using virt-manager i am follo= wing=0A your article=20 =0A >>=C2=A0=C2=A0=C2=A0http://bderzhavets.wordpress.com/2009/08/20/setu= p-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/#comment-623 =0A >> PFA, a screen-shot of the virt-manager =0A >> =0A >> Regards, =0A >> Fasiha Ashraf =0A >> =0A >=20 =0A > CCing fedora-xen list. =0A >=20 =0A > Rather than a screenshot, can you include: =0A >=20 =0A > ~/.virt-manager/virt-manager.log =0A > virsh --connect xen:/// capabilities =0A > virsh --connect xen:/// version =0A >=20 =0A > Thanks, =0A > Cole =0A =0A =0A =0A =0A =C2=A0 =0A =0A =0A =0A =0A= =0A Yahoo! India has a new=0A look. Take a sneak=0A peek. =0A =0A = =0A =20 =0A -----Inline Attachment Follows----- =0A =0A ________________________= _______________________ =0A Xen-devel mailing list =0A Xen-devel@lists.xensource.com =0A http://lists.xensource.com/xen-devel =0A =0A =0A =0A=0A=0A =0A =0A =0A=0A=0A=0A=0A=0A=0A=0A=0A=0AAdd whatever you love to the Yahoo!=0AInd= ia homepage. Try now! =0A=0A=0A=0A =0A=0A=0A=0A=0A From cricket scores= to your friends. Try the Yahoo! India Homepage! http://in.yahoo.com/trynew --0-48583-1257412002=:56570 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Please send the output of #iptables -L
Regards,
Fasiha Ashraf

--- On Thu, 5/11/09, Caz Yokoyama &= lt;cazyokoyama@gmail.com> wrote:
From: Caz Yokoyama <cazyokoyama@gmail.com>
Subject: RE: [Xen-deve= l] Virt-manager issue resolved
To: "'Fasiha Ashraf'" <feehapk@yahoo.c= o.in>, "'xen'" <xen-devel@lists.xensource.com>
Cc: virt-tools-l= ist@redhat.com, "'Fedora Xen'" <fedora-xen@redhat.com>
Date: Thurs= day, 5 November, 2009, 11:03 AM

=0A=0A=0A = =0A =0A=0A=0A=0A
=0A=0A

Hell= o Fasiha,

=0A=0A

Thank you for summarizing=0Athe procedure. I don=E2=80=99= t have xend running. Here is the procedure I did.

=0A=0A<= p class=3D"MsoNormal" style=3D"">Install Fedora 11=0Ax86_64= , full update.

=0A=0A

su

=0A=0A

yum install=0Atransfig texi2html libaio-devel dev86 glibc= -devel.i586

=0A=0A

yum install PyXML=0Abridge-utils qemu-img qemu-common

=0A=0A

wget=0Ahtt= p://kojipkgs.fedoraproject.org/packages/xen/3.4.1/5.fc12/src/xen-3.4.1-5.fc= 12.src.rpm

=0A=0A

rpm -ivh=0Axen-3.4.1-5.fc12.src.rpm

=0A=0A

cd

=0A= =0A

cd rpmbuild/SPECS/

=0A=0A

r= pmbuild -bb=0Axen.spec

=0A=0A

cd ~/rpmbuild/RPMS/x86_64

=0A=0A=

rpm -ivh *.rpm

=0A=0A

cat >= ;=0A/etc/yum.repos.d/fedora-virt-preview.repo << EOF =0A=0A

[virt-preview]

=0A=0A

n= ame=3DVirtualization=0ARawhide for Fedora 11

=0A=0A

baseurl=3Dhttp://markmc.fedor= apeople.org/virt-preview/f11/\$basearch/

=0A=0A

enabled=3D1

= =0A=0A

gpgcheck=3D0

=0A=0A

EO= F

=0A=0A

yum install libvirt=0Alibvirt-python python-virtinst virt-manager virt-vi= ewer

=0A=0A

rpm -qa | grep virt

=0A=0A

cd virt-manager

=0A=0A

git clone=0Agit://git.kernel.org= /pub/scm/linux/kernel/git/Jeremy/xen.git JeremyDom0

=0A= =0A

make menuconfig

=0A=0A

ma= ke all

=0A=0A

su

=0A=0A

<= span style=3D"font-size: 10pt; font-family: "MS Gothic";" lang=3D= "EN-US">make=0Amodules_install install

=0A=0A

reboot with xen

= =0A=0A

 

=0A=0A

= > Does "virsh=0Alist" work

=0A=0A

# virsh list

=0A=0A

error= : Unable to connect=0Ato =E2=80=98localhost:8000=E2=80=99: Connection refus= ed

=0A=0A

error: failed to connect=0Ato the hypervisor

=0A=0A

 

=0A=0A

=E2=80=9C/etc/init= .d/xend=0Astart=E2=80=9D failed because /usr/sbin/xend returns 1.

=0A=0A

 

=0A=0A

Suggestion? I have=0Aattac= hed .config.

=0A=0A

-caz

=0A=0A

&nbs= p;

=0A=0A
=0A=0A
=0A=0A
=0A=0A
=0A=0A

From: Fa= siha Ashraf=0A[mailto:feehapk@yahoo.co.in]
=0ASent: Thursday, October 29, 2009=0A10:31 PM
=0A<= b>To: 'xen'; Caz Yokoyama
= =0ACc: virt-tools-list@red= hat.com;=0A'Fedora Xen'
=0ASubject= : RE: [Xen-devel]=0AVirt-manager issue resolved

=0A=0A
=0A=0A

 

=0A=0A=0A =0A =0A =0A
=0A

 Latest virt-manager doesn= 't work=0A with the previous version of libvirt on fc11. You need to build= xen and=0A latest libvirt form rpm. Follow the steps below.=

=0A

 

=0A

Install packages=0A required by rpmbuil= d:-
=0A
# yum install transfig texi2html libaio-devel dev86=0A glibc-devel.i586=
=0A
Download=0A xen-3.4.1-1.fc12.src.rpm
=0A=
# wget=0A http://kojipkgs.fedoraproject.or= g/packages/xen/3.4.1/1.fc12/src/xen-3.4.1-1.fc12.src.rpm
=0A <= code># rpm=0A -iv xen-3.4.1-1.fc12.src.rpm

=0A # cd=0A /r= oot/rpmbuild/SPECS
=0A #=0A rpmbuild -ba ./xen.spec<= /font>
=0A
To install hypervisor=0A and tools
=0A=
# cd ../RPMS/x86_64
=0A = # yu= m=0A install xen-3.4.1-1.fc11.x86_64.rpm \
=0A xen-deb= uginfo-3.4.1-1.fc11.x86_64.rpm=0A \

=0A xen-devel-3.4.= 1-1.fc11.x86_64.rpm=0A \
=0A xen-doc-3.4.1-1.fc11.x86= _64.rpm=0A \
=0A xen-hypervisor-3.4.1-1.fc11.x86_64.rp= m=0A \
=0A xen-libs-3.4.1-1.fc11.x86_64.rpm=0A \
=0A xen-runtime-3.4.1-1.fc11.x86_64.rpm

=0A

To install new=0A libvirt-0.7.0-6=0A # cat > /etc/yum.repos.d/fed= ora-virt-preview.repo << EOF
=0A [virt-preview]=
=0A name=3DVirtualization=0A Rawhide for Fedora 11<= /code>
=0A baseurl=3Dhttp://markmc.fedorapeople.org/virt-preview/f11/= \$basearch/
=0A enabled=3D1
=0A g= pgcheck=3D0

=0A EOF
=0A
=0A = # yum=0A install libvirt libvirt-python python-virtinst \=0A virt-manager=0A virt-viewer

=0A

# rpm -qa|= grep virt

=0A

the following list must be there may be with higher=0A = version numbers.

=0A =

libvirt-client-0.7.0-6.fc11.x86_64<= /code>
= =0A libvirt-python-0.7.0-6.fc11.x86_64
=0A virt-vie= wer-0.2.0-1.fc11.x86_64

=0A virt-manager-0.7.0-5.fc11.x= 86_64
=0A libvirt-0.7.0-6.fc11.x86_64=0A python-virtinst-0.500.0-1.fc11.noarch

=0A


=0A All the above s= teps should be done on the base kernel. Now compile and build=0A xen with = paravirt kernel. Now boot into the new xen kernel after starting=0A xend r= un this

=0A

# xm info

=0A

to= check. now you can use virt-manager in your=0A set-up

=0A


=0A Regards,
=0A= Fasiha Ashraf
=0A
=0A --- On Thu, 29/10/09, Caz Yokoyama <c= azyokoyama@gmail.com>=0A wrote:

= =0A


=0A From: Caz Yokoya= ma <cazyokoyama@gmail.com>
=0A Subject: RE: [Xen-devel] Virt-mana= ger issue resolved
=0A To: "'Fasiha Ashraf'" <feehapk@yahoo.co.in>= ;,=0A "'xen'" <xen-devel@lists.xensource.com>
=0A Cc: virt-tools= -list@redhat.com, "'Fedora Xen'"=0A <fedora-xen@redhat.com>
=0A = Date: Thursday, 29 October, 2009, 6:19 PM

=0A
=0A
=0A

Could you = summarize the procedure? I am trying=0A to run virt-manager on Fedora 11 w= ith Xen-3.5-unstable and Jeremy=E2=80=99s=0A Dom0 (git://git.kernel.org/pu= b/scm/linux/kernel/git/Jeremy/xen.git). I am=0A wondering what option shou= ld be good on make on xen-3.5-unstable. I did

=0A

Make xen tools

=0A

= Make install-xen install-tools

=0A

What else I need do?<= /font>

=0A

Booting dom0 is fine.

=0A =

-caz<= /span>

=0A
=0A
=0A
=0A
=0A
=0A
= =0A

From:=0A xen-devel-bounces@lists.xensource.com=0A = [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Fasiha Ashraf
=0A Sent: Tuesday, October 27, 2009 4:49=0A AM<= br>=0A To: Cole Robinson;= xen
=0A Cc: Fedora Xe= n;=0A virt-tools-list@redhat.com
=0A Subject: [Xen-devel]=0A Virt-manager issue resolved
=

=0A
=0A

 

=0A =0A =0A =0A =0A
=0A

I have got para-virt option= enabled by=0A installing vm using through http. the problem was, i was = trying to install=0A it from DVD. Now the issue is it doesn't find the f= ile on the givern=0A location although i can access them from the same l= ocation in browser. PFA,=0A the screen shots for the problem.
=0A =
=0A Regards
=0A Fasiha Ashraf
=0A
=0A --- On <= span style=3D"font-weight: bold;">Mon, 26/10/09, Cole Robinson <crobinso@redhat.com>
=0A wrote:

=0A


=0A From: Cole Robinson <crobinso@re= dhat.com>
=0A Subject: Re: [virt-tools-list] Unable to complete in= stall: 'Domain not=0A found: xenUnifiedDomainLookupByName
=0A To: = "Fasiha Ashraf" <feehapk@yahoo.co.in>
=0A Cc: virt-tools-list@r= edhat.com, bderzhavets@yahoo.com, "Xen=0A users" <james.harper@bendig= oit.com.au>, "Fedora Xen"=0A <fedora-xen@redhat.com>
=0A = Date: Monday, 26 October, 2009, 7:08 PM
<= /span>

=0A
=0A

On 10/26/= 2009 09:24 AM, Fasiha Ashraf wrote:
=0A > It seem that its trying = to install HVM guest that is not possible=0A using virt-manager.
=0A = > But you can see from the attached screen shot that virt type option= is=0A disabled and i can't select paravirt from it. what should i do?=0A > here's the log .virt-manager/virt-manager.log
=0A > =
=0A
=0A Please include the other information I asked for:
= =0A
=0A virsh --connect xen:/// capabilities
=0A virsh --co= nnect xen:/// version
=0A
=0A - Cole
=0A
=0A >= [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG=0A (DistroInstaller= :119) DistroInstaller location is a local file/path:=0A /dev/sr0
=0A = > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG=0A (DistroIn= staller:119) DistroInstaller location is a local file/path:=0A /dev/sr0<= br>=0A > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:= 877)=0A Default storage path is: /var/lib/libvirt/images/f.img
=0A = > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (VirtualDisk:737)= =0A Path '/var/lib/libvirt/images' is target for pool 'default'. Creatin= g=0A volume 'f.img'.
=0A > [Mon, 26 Oct 2009 16:12:17 virt-mana= ger 3019] DEBUG=0A (DistroInstaller:119) DistroInstaller location is a l= ocal file/path:=0A /dev/sr0
=0A > [Mon, 26 Oct 2009 16:12:17 vi= rt-manager 3019] DEBUG (create:877)=0A Default storage path is: /var/lib= /libvirt/images/f.img
=0A > [Mon, 26 Oct 2009 16:12:17 virt-manage= r 3019] DEBUG (VirtualDisk:737)=0A Path '/var/lib/libvirt/images' is tar= get for pool 'default'. Creating=0A volume 'f.img'.
=0A > [Mon,= 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516)=0A Creating= a VM f
=0A >   Type: xen,hvm
=0A > &= nbsp; UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3
=0A > &= nbsp; Install Source: /dev/sr0
=0A >   OS: lin= ux:fedora11
=0A >   Kernel args: None
=0A >= ;   Memory: 512
=0A >   Max Memory: = 512
=0A >   # VCPUs: 1
=0A >  &n= bsp;Filesize: 7.0
=0A > [Mon, 26 Oct 2009 16:12:17 virt-manager 30= 19] DEBUG (create:1565)=0A Starting background install process
=0A = > [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950)=0A = Creating storage volume 'f.img' with xml:
=0A > <volume><= br>=0A >   <name>f.img</name>
=0A &g= t;   <capacity>7516192768</capacity>
=0A &= gt;   <allocation>7516192768</allocation>
=0A= >   <target>
=0A >    &= nbsp;<format type=3D'raw'/>
=0A >   </targ= et>
=0A > </volume>
=0A > [Mon, 26 Oct 2009 16:1= 3:08 virt-manager 3019] DEBUG (Storage:973)=0A Storage volume 'f.img' in= stall complete.
=0A > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019= ] DEBUG (Guest:724)=0A Creating guest from:
=0A > <domain ty= pe=3D'xen'>
=0A >   <name>f</name>=0A >   <currentMemory>524288</currentMemor= y>
=0A >   <memory>524288</memory>=0A >   <uuid>01f35eb7-fe09-c231-bfe0-1e9bfc6f= f5a3</uuid>
=0A >   <os>
=0A >=      <type arch=3D'x86_64'>hvm</type>
= =0A > =0A    <loader>/usr/lib/xen/boot/h= vmloader</loader>
=0A >     <boot dev= =3D'cdrom'/>
=0A >   </os>
=0A >&= nbsp;  <features>
=0A >     &l= t;acpi/><apic/><pae/>
=0A >   </f= eatures>
=0A >   <clock offset=3D"utc"/>=0A >   <on_poweroff>destroy</on_poweroff&g= t;
=0A >   <on_reboot>destroy</on_reboot&g= t;
=0A >   <on_crash>destroy</on_crash>=
=0A >   <vcpu>1</vcpu>
=0A >&= nbsp;  <devices>
=0A > =0A   &nb= sp;<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
=0A &g= t;     <disk type=3D'file' device=3D'disk'>
= =0A >       <source=0A file=3D'/var/li= b/libvirt/images/f.img'/>
=0A >       = <target dev=3D'hda' bus=3D'ide'/>
=0A >    &n= bsp;</disk>
=0A >     <disk type=3D'b= lock' device=3D'cdrom'>
=0A >       &l= t;source dev=3D'/dev/sr0'/>
=0A >      &nbs= p;<target dev=3D'hdc' bus=3D'ide'/>
=0A >     = ;  <readonly/>
=0A >  </disk>
=0A = >     <interface type=3D'bridge'>
=0A &= gt;       <source bridge=3D'eth0'/>
=0A = >       <mac=0A address=3D'00:16:36:08:= 9e:36'/>
=0A >     </interface>
= =0A >     <input type=3D'tablet' bus=3D'usb'/&= gt;
=0A >     <graphics type=3D'vnc' port= =3D'-1'/>
=0A >     <console type=3D'pty= '/>
=0A >     <sound model=3D'es1370'/&g= t;
=0A >   </devices>
=0A > </dom= ain>
=0A >
=0A > [Mon, 26 Oct 2009 16:13:10 virt-mana= ger 3019] DEBUG (netdevhelper:176)=0A Adding net device vif3.0 fe:ff:ff:= ff:ff:ff /sys/class/net/vif3.0 (bridge:=0A None)
=0A > [Mon, 26= Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) Tick=0A is slow= , not running at requested rate.
=0A > [Mon, 26 Oct 2009 16:13:13 = virt-manager 3019] DEBUG (engine:187) Tick=0A is slow, not running at re= quested rate.
=0A > [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] = DEBUG (engine:187) Tick=0A is slow, not running at requested rate.
= =0A > [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187= ) Tick=0A is slow, not running at requested rate.
=0A > [Mon, 2= 6 Oct 2009 16:14:46 virt-manager 3019] DEBUG (netdevhelper:138)=0A Remov= ing physical net device vif3.0 from list.
=0A > [Mon, 26 Oct 2009 = 16:14:46 virt-manager 3019] DEBUG=0A (opticalhelper:205) Optical device = removed:=0A /org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff
=0A = > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76)=0A = Uncaught Error: Unable to complete install: 'POST operation failed:=0A x= end_post: error from xen $
=0A > Traceback (most recent call last)= :
=0A >   File=0A "/usr/share/virt-manager/virtM= anager/create.py", line 1575, in=0A do_install
=0A >  &nbs= p;  dom =3D guest.start_install(False, meter =3D=0A meter)
= =0A >   File=0A "/usr/lib/python2.6/site-packages/v= irtinst/Guest.py", line 628,=0A in start_install
=0A > File "/u= sr/lib/python2.6/site-packages/virtinst/Guest.py",=0A line 628, in start= _install
=0A >     return self._do_install(con= solecb, meter,=0A removeOld, wait)
=0A >   File= =0A "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 726,=0A = in _do_install
=0A >     self.domain =3D sel= f.conn.createLinux(install_xml,=0A 0)
=0A >   Fi= le=0A "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, in=0A = createLinux
=0A >     if ret is None:raise= =0A libvirtError('virDomainCreateLinux() failed', conn=3Dself)
=0A = > libvirtError: POST operation failed: xend_post: error from xen daemon= :=0A <Fault 3: 'f'>
=0A > '
=0A > [Mon, 26 Oct 2= 009 16:16:38 virt-manager 3019] DEBUG (engine:377)=0A window counter dec= remented to 0
=0A > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] = DEBUG (engine:385)=0A Exiting app normally.
=0A >
=0A &g= t;
=0A >
=0A > Fasiha Ashraf
=0A >
=0A = > --- On Mon, 26/10/09, Cole Robinson <crobinso@redhat.com> wrote:=
=0A >
=0A > From: Cole Robinson <crobinso@redhat.com= >
=0A > Subject: Re: [virt-tools-list] Unable to complete insta= ll: 'Domain not=0A found: xenUnifiedDomainLookupByName
=0A > To= : "Fasiha Ashraf" <feehapk@yahoo.co.in>
=0A > Cc: virt-tools= -list@redhat.com, bderzhavets@yahoo.com, "Xen=0A users" <james.harper= @bendigoit.com.au>, "Fedora Xen"=0A <fedora-xen@redhat.com>
= =0A > Date: Monday, 26 October, 2009, 5:58 PM
=0A >
=0A = > On 10/26/2009 06:48 AM, Fasiha Ashraf wrote:
=0A >> Hi = all
=0A >> I am facing this error while installing Guest VM on = FC11 using=0A virt-manager
=0A >> Unable to complete install= '<class 'libvirt.libvirtError'>=0A Domain not found: xenUnifiedDo= mainLookupByName
=0A >> Traceback (most recent call last):
= =0A >>    File "/usr/share/virt-manager/virtManager/crea= te.py",=0A line 1575, in do_install
=0A >>    &nbs= p; dom =3D guest.start_install(False, meter =3D=0A meter)
=0A >= >    File=0A "/usr/lib/python2.6/site-packages/virtinst/Gue= st.py", line 628,=0A in start_install
=0A >>    &n= bsp; return self._do_install(consolecb, meter,=0A removeOld, wait)
= =0A >>    File=0A "/usr/lib/python2.6/site-packages/v= irtinst/Guest.py", line 726,=0A in _do_install
=0A >>  =     self.domain =3D=0A self.conn.createLinux(install_xml, 0)=0A >>    File=0A "/usr/lib64/python2.6/site-packag= es/libvirt.py", line 1077, in=0A createLinux
=0A >>  &n= bsp;   if ret is
=0A >>   None:raise libvir= tError('virDomainCreateLinux()=0A failed', conn=3Dself)
=0A >&g= t; libvirtError: Domain not found: xenUnifiedDomainLookupByName
=0A &= gt;> '
=0A >> What should i do to avoid it? please help!
= =0A >> Boris! How did you create PV guests using virt-manager i am= following=0A your article
=0A >>   http://bderzha= vets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fe= dora-11-64-bit/#comment-623
=0A >> PFA, a= screen-shot of the virt-manager
=0A >>
=0A >> Rega= rds,
=0A >> Fasiha Ashraf
=0A >>
=0A > =0A > CCing fedora-xen list.
=0A >
=0A > Rather t= han a screenshot, can you include:
=0A >
=0A > ~/.virt-m= anager/virt-manager.log
=0A > virsh --connect xen:/// capabilities=
=0A > virsh --connect xen:/// version
=0A >
=0A &= gt; Thanks,
=0A > Cole
=0A

=0A
=0A

 

=0A
=0A
=0A
=0A
=0A
=0A

Yahoo! India has a new=0A look. Take a sneak=0A peek.

=0A
=0A
=0A


=0A -----Inline Attachment Follows-----
<= /p> =0A

=0A

____________________________________________= ___
=0A Xen-devel mailing list
=0A Xen-devel@lists.xensource.com
=0A http://lists.xensource.com/xen-devel

=0A
=0A
=0A=0A


=0A
=0A

=0A= =0A=0A=0A
=0A=0A
=0A=0A=
=0A=0A

Add what= ever you love to the Yahoo!=0AIndia homepage. Try now!

=0A=0A
=0A=0A =0A=0A

=0A
Now, send at= tachments up to 25MB with Yahoo! India Mail. Learn how. --0-48583-1257412002=:56570-- --===============0255613361== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0255613361==--