From: Caz Yokoyama Subject: RE: Virt-manager issue resolved Date: Thu, 29 Oct 2009 20:58:44 -0700 Message-ID: <3A3FC976A00345599FD362E8493FEAAE@xpjpn> References: <107659.94475.qm@web94601.mail.in2.yahoo.com> <20091029134411.GI1434@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20091029134411.GI1434@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?iso-8859-1?Q?'Pasi_K=E4rkk=E4inen'?= Cc: 'xen' , 'Fedora Xen' , virt-tools-list@redhat.com List-Id: xen-devel@lists.xenproject.org Hello Pasi, Thank you for the reply. Do you have /proc/xen mounted? - yes, there is. But there is nothing = there. Does "virsh list" work? - error: failed to connect to the hypervisor This means xend is not running. I see S98xend in /etc/rd5.d. "ps ax" = shows xenwatch and xenbus, but no xend. -caz -----Original Message----- From: Pasi K=E4rkk=E4inen [mailto:pasik@iki.fi]=20 Sent: Thursday, October 29, 2009 6:44 AM To: Caz Yokoyama Cc: 'Fasiha Ashraf'; 'xen'; virt-tools-list@redhat.com; 'Fedora Xen' Subject: Re: [Xen-devel] Virt-manager issue resolved On Thu, Oct 29, 2009 at 06:19:03AM -0700, Caz Yokoyama wrote: > Could you summarize the procedure? I am trying to run virt-manager = on > Fedora 11 with Xen-3.5-unstable and Jeremy's Dom0 > (git://git.kernel.org/pub/scm/linux/kernel/git/Jeremy/xen.git). I = am > wondering what option should be good on make on xen-3.5-unstable. I = did >=20 > Make xen tools >=20 > Make install-xen install-tools >=20 > What else I need do? >=20 > Booting dom0 is fine. >=20 Do you have /proc/xen mounted?=20 Does "virsh list" work?=20 Does "virsh --connect xen:/// capabilities" work? Does "virsh --connect xen:/// version" work? Did you install all the latest updates to F11? Iirc there was some xen-related fixes in the virt* updates.. -- Pasi > -caz >=20 > -------------------------------------------------------------------------= - >=20 > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Fasiha Ashraf > Sent: Tuesday, October 27, 2009 4:49 AM > To: Cole Robinson; xen > Cc: Fedora Xen; virt-tools-list@redhat.com > Subject: [Xen-devel] Virt-manager issue resolved >=20 >=20 >=20 > I have got para-virt option enabled by installing vm using through = http. the problem was, i was trying to install it from > DVD. Now the issue is it doesn't find the file on the givern location although i can access them from the same location in > browser. PFA, the screen shots for the problem. >=20 > Regards > Fasiha Ashraf >=20 > --- On Mon, 26/10/09, Cole Robinson wrote: >=20 > From: Cole Robinson > Subject: Re: [virt-tools-list] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName > To: "Fasiha Ashraf" > Cc: virt-tools-list@redhat.com, bderzhavets@yahoo.com, "Xen users" , "Fedora Xen" > > Date: Monday, 26 October, 2009, 7:08 PM >=20 > On 10/26/2009 09:24 AM, Fasiha Ashraf wrote: > > It seem that its trying to install HVM guest that is not possible = using virt-manager. > > But you can see from the attached screen shot that virt type option = is disabled and i can't select paravirt from it. what > should i do? > > here's the log .virt-manager/virt-manager.log > > >=20 > Please include the other information I asked for: >=20 > virsh --connect xen:/// capabilities > virsh --connect xen:/// version >=20 > - Cole >=20 > > [Mon, 26 Oct 2009 16:11:51 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: > /dev/sr0 > > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: > /dev/sr0 > > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG (create:877) = Default storage path is: /var/lib/libvirt/images/f.img > > [Mon, 26 Oct 2009 16:12:01 virt-manager 3019] DEBUG = (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool > 'default'. Creating volume 'f.img'. > > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (DistroInstaller:119) DistroInstaller location is a local file/path: > /dev/sr0 > > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:877) = Default storage path is: /var/lib/libvirt/images/f.img > > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG = (VirtualDisk:737) Path '/var/lib/libvirt/images' is target for pool > 'default'. Creating volume 'f.img'. > > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1516) Creating a VM f > > Type: xen,hvm > > UUID: 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 > > Install Source: /dev/sr0 > > OS: linux:fedora11 > > Kernel args: None > > Memory: 512 > > Max Memory: 512 > > # VCPUs: 1 > > Filesize: 7.0 > > [Mon, 26 Oct 2009 16:12:17 virt-manager 3019] DEBUG (create:1565) Starting background install process > > [Mon, 26 Oct 2009 16:12:18 virt-manager 3019] DEBUG (Storage:950) Creating storage volume 'f.img' with xml: > > > > f.img > > 7516192768 > > 7516192768 > > > > > > > > > > [Mon, 26 Oct 2009 16:13:08 virt-manager 3019] DEBUG (Storage:973) Storage volume 'f.img' install complete. > > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG (Guest:724) = Creating guest from: > > > > f > > 524288 > > 524288 > > 01f35eb7-fe09-c231-bfe0-1e9bfc6ff5a3 > > > > hvm > > /usr/lib/xen/boot/hvmloader > > > > > > > > > > > > > > destroy > > destroy > > destroy > > 1 > > > > /usr/lib64/xen/bin/qemu-dm > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [Mon, 26 Oct 2009 16:13:10 virt-manager 3019] DEBUG = (netdevhelper:176) Adding net device vif3.0 fe:ff:ff:ff:ff:ff > /sys/class/net/vif3.0 (bridge: None) > > [Mon, 26 Oct 2009 16:13:12 virt-manager 3019] DEBUG (engine:187) = Tick is slow, not running at requested rate. > > [Mon, 26 Oct 2009 16:13:13 virt-manager 3019] DEBUG (engine:187) = Tick is slow, not running at requested rate. > > [Mon, 26 Oct 2009 16:13:14 virt-manager 3019] DEBUG (engine:187) = Tick is slow, not running at requested rate. > > [Mon, 26 Oct 2009 16:13:15 virt-manager 3019] DEBUG (engine:187) = Tick is slow, not running at requested rate. > > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG = (netdevhelper:138) Removing physical net device vif3.0 from list. > > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG = (opticalhelper:205) Optical device removed: > /org/freedesktop/Hal/devices/net_fe_ff_ff_ff_ff_ff > > [Mon, 26 Oct 2009 16:14:46 virt-manager 3019] DEBUG (error:76) = Uncaught Error: Unable to complete install: 'POST operation > failed: xend_post: error from xen $ > > Traceback (most recent call last): > > File "/usr/share/virt-manager/virtManager/create.py", line 1575, = in do_install > > dom =3D guest.start_install(False, meter =3D meter) > > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line = 628, in start_install > > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 628, = in start_install > > return self._do_install(consolecb, meter, removeOld, wait) > > File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line = 726, in _do_install > > self.domain =3D self.conn.createLinux(install_xml, 0) > > File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, = in createLinux > > if ret is None:raise libvirtError('virDomainCreateLinux() = failed', conn=3Dself) > > libvirtError: POST operation failed: xend_post: error from xen = daemon: > > ' > > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:377) = window counter decremented to 0 > > [Mon, 26 Oct 2009 16:16:38 virt-manager 3019] DEBUG (engine:385) = Exiting app normally. > > > > > > > > Fasiha Ashraf > > > > --- On Mon, 26/10/09, Cole Robinson <[1]crobinso@redhat.com> wrote: > > > > From: Cole Robinson <[2]crobinso@redhat.com> > > Subject: Re: [virt-tools-list] Unable to complete install: 'Domain = not found: xenUnifiedDomainLookupByName > > To: "Fasiha Ashraf" <[3]feehapk@yahoo.co.in> > > Cc: [4]virt-tools-list@redhat.com, [5]bderzhavets@yahoo.com, "Xen = users" <[6]james.harper@bendigoit.com.au>, "Fedora Xen" > <[7]fedora-xen@redhat.com> > > Date: Monday, 26 October, 2009, 5:58 PM > > > > On 10/26/2009 06:48 AM, Fasiha Ashraf wrote: > >> Hi all > >> I am facing this error while installing Guest VM on FC11 using virt-manager > >> Unable to complete install ' Domain = not found: xenUnifiedDomainLookupByName > >> Traceback (most recent call last): > >> File "/usr/share/virt-manager/virtManager/create.py", line 1575, = in do_install > >> dom =3D guest.start_install(False, meter =3D meter) > >> File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line = 628, in start_install > >> return self._do_install(consolecb, meter, removeOld, wait) > >> File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line = 726, in _do_install > >> self.domain =3D self.conn.createLinux(install_xml, 0) > >> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1077, = in createLinux > >> if ret is > >> None:raise libvirtError('virDomainCreateLinux() failed', = conn=3Dself) > >> libvirtError: Domain not found: xenUnifiedDomainLookupByName > >> ' > >> What should i do to avoid it? please help! > >> Boris! How did you create PV guests using virt-manager i am = following your article > >> [8]http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-= 3-4 -1-dom0-on-to-fedora-11-64-bit/#comment-623 > >> PFA, a screen-shot of the virt-manager > >> > >> Regards, > >> Fasiha Ashraf > >> > > > > CCing fedora-xen list. > > > > Rather than a screenshot, can you include: > > > > ~/.virt-manager/virt-manager.log > > virsh --connect xen:/// capabilities > > virsh --connect xen:/// version > > > > Thanks, > > Cole >=20 > -------------------------------------------------------------------------= - >=20 > Yahoo! India has a new look. [9]Take a sneak peek. >=20 > References >=20 > Visible links > 1. file:///mc/compose?to=3Dcrobinso@redhat.com > 2. file:///mc/compose?to=3Dcrobinso@redhat.com > 3. file:///mc/compose?to=3Dfeehapk@yahoo.co.in > 4. file:///mc/compose?to=3Dvirt-tools-list@redhat.com > 5. file:///mc/compose?to=3Dbderzhavets@yahoo.com > 6. file:///mc/compose?to=3Djames.harper@bendigoit.com.au > 7. file:///mc/compose?to=3Dfedora-xen@redhat.com > 8. http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4= -1- dom0-on-to-fedora-11-64-bit/#comment-623 > 9. = http://in.rd.yahoo.com/tagline_metro_2/*http:/in.yahoo.com/trynew > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel