From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName Date: Wed, 28 Oct 2009 20:00:37 +0800 Message-ID: References: <602820.96464.qm@web94610.mail.in2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1514493175==" Return-path: In-Reply-To: <602820.96464.qm@web94610.mail.in2.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Fasiha Ashraf Cc: bderzhavets@yahoo.com, xen-devel@lists.xensource.com, space.time.universe@gmail.com List-Id: xen-devel@lists.xenproject.org --===============1514493175== Content-Type: multipart/alternative; boundary=0015175ce09401284b0476fd8b13 --0015175ce09401284b0476fd8b13 Content-Type: text/plain; charset=ISO-8859-1 Hi, I assume you are following Boris' installation instructions. *First Step* Bring up local Apache Server to create HTTP installation source. # chkconfig httpd on # service httpd start # mount -o loop f11.iso /var/www/html/f11 To create an ISO image of your Fedora 11 Linux 64-bit DVD, run the following command: # dd if=/dev/sr0 of=/home/user/f11.iso OR # dd if=/dev/hdc of=/home/user/f11.iso OR # dd if=/dev/cdrom of=/home/user/f11.iso OR # dd if=/dev/dvd of=/home/user/f11.iso depending on which one of the above four commands work for you. # wget http://192.168.1.36/f11/images/pxeboot/vmlinuz # wget http://192.168.1.36/f11/images/pxeboot/initrd.img Replace 192.168.1.36 with the IP address of your dom0. You don't have to execute the above 2 commands. Just copy the kernel image file vmlinux and the initial ramdisk image file initrd.img from the directory images/pxeboot on your DVD to /home/xen as indicated in your PV guest config mentioned below. *Second Step (very important) *Turn off SELinux enforcement targeted policy. # echo 0 > /selinux/enforce *Third Step* # xm create f11.pv Don't use virt-manager. I am not using it. Then following the rest of Boris' instructions here: http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com Email: space.time.universe@gmail.com MSN: teoenming@hotmail.com Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Tue, Oct 27, 2009 at 4:34 PM, Fasiha Ashraf wrote: > name="F11-G1S1" > memory=512 > disk = [ 'file:/home/xen/dom.img,hda,w' ] > vif = [ 'bridge=eth0' ] > vfb = [ 'type=vnc,vncunused=1'] > kernel = "/home/xen/vmlinuz" > ramdisk = "/home/xen/initrd.img" > vcpus=1 > > on_reboot = 'restart' > on_crash = 'restart' > > How can delete this 20GB disk to get back the free memory? Also tell me > would i need to create a disk like this for every other vm i will create or > the same will be used as a virtual disk for all the guests? > > Regards, > Fasiha Ashraf > > > --- On *Tue, 27/10/09, Mr. Teo En Ming (Zhang Enming) < > space.time.universe@gmail.com>* wrote: > > > From: Mr. Teo En Ming (Zhang Enming) > Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: > xenUnifiedDomainLookupByName > To: "Fasiha Ashraf" > Cc: bderzhavets@yahoo.com, "xen" > Date: Tuesday, 27 October, 2009, 12:42 PM > > > Could you post your entire guest config? > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical > Engineering) > Alma Maters: > (1) Singapore Polytechnic > (2) National University of Singapore > Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com > Email: space.time.universe@gmail.com > MSN: teoenming@hotmail.com > Mobile Phone: +65-9648-9798 > Street: Bedok Reservoir Road > Republic of Singapore > > On Tue, Oct 27, 2009 at 3:37 PM, Fasiha Ashraf > > wrote: > >> Replies in-line >> >> Fasiha Ashraf >> >> --- >> >> >> The following command creates a 20 GB disk image file for you to use as >> virtual harddisk for your guest operating system. This operation will take >> some time to execute. >> >> Run as root: >> >> # dd if=/dev/zero of=/path/to/guest-os-hdd.img bs=1024k seek=20000 count=0 >> >> Then you use the following disk directive in your guest os configuration: >> >> disk = [ 'file:/path/to/guest-os-hdd.img,hda,w' ] >> I did this my domU starts fine but the problem occur while it needs some >> disk to install fedora on. PFA screen-shot of the current issue. >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical >> Engineering) >> Alma Maters: >> (1) Singapore Polytechnic >> (2) National University of Singapore >> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com >> Email: space.time.universe@gmail.com >> MSN: teoenming@hotmail.com >> Mobile Phone: +65-9648-9798 >> Street: Bedok Reservoir Road >> Republic of Singapore >> >> On Mon, Oct 26, 2009 at 7:41 PM, Fasiha Ashraf >> > wrote: >> >>> What should be this parameter disk = ['phy:/dev/sdc7,xvda,w' ] in my >>> case. According to my system specs below >>> [root@Server1-FC11 ~]# fdisk -l >>> >>> Disk /dev/sda: 438.4 GB, 438489317376 bytes >>> 255 heads, 63 sectors/track, 53309 cylinders >>> Units = cylinders of 16065 * 512 = 8225280 bytes >>> Disk identifier: 0x00000080 >>> >>> Device Boot Start End Blocks Id System >>> /dev/sda1 1 13 104391 83 Linux >>> /dev/sda2 14 2180 17406427+ 82 Linux swap / >>> Solaris >>> /dev/sda3 2181 42776 326087370 83 Linux >>> /dev/sda4 42777 53309 84606322+ 5 Extended >>> /dev/sda5 * 42777 53309 84606291 83 Linux >>> [root@Server1-FC11 ~]# df -l >>> Filesystem 1K-blocks Used Available Use% Mounted on >>> /dev/sda5 83277720 22241624 56805784 29% / >>> tmpfs 4069668 92 4069576 1% /dev/shm >>> xenstore 4069668 40 4069628 1% >>> /var/lib/xenstored >>> >>> Regards >>> Fasiha Ashraf >>> >>> --- On *Mon, 26/10/09, Mr. Teo En Ming (Zhang Enming) < >>> space.time.universe@gmail.com >>> >* wrote: >>> >>> >>> From: Mr. Teo En Ming (Zhang Enming) >>> > >>> Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: >>> xenUnifiedDomainLookupByName >>> To: "Fasiha Ashraf" >>> > >>> Cc: bderzhavets@yahoo.com , >>> "xen" >>> > >>> Date: Monday, 26 October, 2009, 3:43 PM >>> >>> >>> I didn't use virt-manager. I had it un-installed. For PV guests >>> configuration, please see >>> >>> >>> http://bderzhavets.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fedora-11/ >>> >>> -- >>> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical >>> Engineering) >>> Alma Maters: >>> (1) Singapore Polytechnic >>> (2) National University of Singapore >>> Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com >>> Email: space.time.universe@gmail.com >>> MSN: teoenming@hotmail.com >>> Mobile Phone: +65-9648-9798 >>> Street: Bedok Reservoir Road >>> Republic of Singapore >>> >>> On Mon, Oct 26, 2009 at 6:36 PM, 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 = guest.start_install(False, meter = 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 = 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=self) >>>> 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 >>>> >>>> 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 >>>> >>>> Regards, >>>> Fasiha Ashraf >>>> ------------------------------ >>>> Try the new Yahoo! India Homepage. Click here >>>> . >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >>>> >>>> >>> >>> >>> >>> >>> -----Inline Attachment Follows----- >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >>> ------------------------------ >>> Connect more, do more and share more with Yahoo! India Mail. Learn more >>> . >>> >> >> >> >> >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> >> ------------------------------ >> From cricket scores to your friends. Try the Yahoo! India Homepage! >> > > > > > > ------------------------------ > Keep up with people you care about with Yahoo! India Mail. Learn how > . > --0015175ce09401284b0476fd8b13 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I assume you are following Boris' installation instructions.=

First Step

Bring up local Apache Server to cre= ate HTTP installation source.

# chkconfig httpd on
# service httpd start
# mount -o loop f11.iso /var/www/html/f11

To create an ISO image of = your Fedora 11 Linux 64-bit DVD, run the following command:

# dd if= =3D/dev/sr0 of=3D/home/user/f11.iso

OR

# dd if=3D/dev/hdc of= =3D/home/user/f11.iso

OR

# dd if=3D/dev/cdrom of=3D/home/user/f11.iso

OR
# dd if=3D/dev/dvd of=3D/home/user/f11.iso

depending on which one o= f the above four commands work for you.

# wget http://19= 2.168.1.36/f11/images/pxeboot/vmlinuz
# wget http:/= /192.168.1.36/f11/images/pxeboot/initrd.img

Replace 192.168.1.36= with the IP address of your dom0.

You don't have to execute the= above 2 commands.

Just copy the kernel image file vmlinux and the initial ramdisk image f= ile initrd.img from the directory images/pxeboot on your DVD to /home/xen a= s indicated in your PV guest config mentioned below.

Second Step (very important)

Turn off SELinux enforcement targeted policy.

# echo 0 &= gt; /selinux/enforce

Third Step

#= xm create f11.pv

Don't use virt-manager. I am not using it.

Then following the rest of Boris' instructions here:

http://bderzhave= ts.wordpress.com/2009/06/10/setup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kerne= l-2-6-30-rc6-tip-on-top-of-fedora-11/


--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(= Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2)= National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogsp= ot.com
Email: space.time.universe= @gmail.com
MSN: teoenming@h= otmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Ro= ad
Republic of Singapore

On Tue, Oct 27, 200= 9 at 4:34 PM, Fasiha Ashraf <feehapk@yahoo.co.in> wrote:
name=3D"F11-G1S1"
memory=3D512
disk =3D [ 'file:/home/x= en/dom.img,hda,w' ]
vif =3D [ 'bridge=3Deth0' ]
vfb =3D [= 'type=3Dvnc,vncunused=3D1']
kernel =3D "/home/xen/vmlinuz&= quot;
ramdisk =3D "/home/xen/initrd.img"
vcpus=3D1

on_reboot =3D 'restart'
on_crash = =3D 'restart'

How can delete this 20GB disk to get bac= k the free memory? Also tell me would i need to create a disk like this for= every other vm i will create or the same will be used as a virtual disk fo= r all the guests?

Regards,
Fasiha Ashraf


--- On Tue, 27/10= /09, Mr. Teo En Ming (Zhang Enming) <space.time.universe@gmail.com> wrote:

From: Mr. Teo En Ming = (Zhang Enming) <space.time.universe@gmail.com>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha A= shraf" <fe= ehapk@yahoo.co.in>
Cc: bderzhavets@yahoo.com, "xen" <xen-devel@lists.xen= source.com>
Date: Tuesday, 27 October, 2009, 12:42 PM


Could you post your entire guest config?

-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Eng= ineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Sin= gapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot= .com
Email: space.time.universe@gmail.com
MSN:
teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of = Singapore

On Tue, Oct 27, 2009 at 3:37 PM= , Fasiha Ashraf <feehapk@yahoo.co.in> wrote:
Replies in-line

Fasiha Ashraf

---

The following command creates a 20 GB disk image file for you to use as= virtual harddisk for your guest operating system. This operation will take= some time to execute.

Run as root:
# dd if=3D/dev/zero of=
=3D/path/to/guest-os-hdd.img bs=3D1024k seek=3D20000 count=3D0
Then you use the following disk directive in your guest os configurat= ion:

disk =3D [ 'file:/path/to/guest-os-hdd.img,hda,w' ]
I did th= is my domU starts fine but the problem occur while it needs some disk to in= stall fedora on. PFA screen-shot of the current issue.

--
Mr. Teo En Min= g (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Sin= gapore
Blog URL: http://teo-en-ming-aka-zhang-enmin= g.blogspot.com
Email: space.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9= 798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 2009 at 7:41 PM, Fasiha Ashraf <feehapk@yahoo.co.in> wrote:
What should be this parameter disk =3D ['phy:/dev/sdc7,xvda,w'= ; ] in my case. According to my system specs below
[root@Server1-= FC11 ~]# fdisk -l

Disk /dev/sda: 438.4 GB, 438489317376 bytes
255 heads, 63 sectors/track, 53309 cylinders
Units =3D cylinders of 16065 * 512 =3D 8225280 bytes
Disk identifier: 0x= 00000080

=A0=A0 Device Boot=A0=A0=A0=A0=A0 Start=A0=A0=A0=A0=A0=A0= =A0=A0 End=A0=A0=A0=A0=A0 Blocks=A0=A0 Id=A0 System
/dev/sda1=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0=A0=A0 13=A0=A0=A0= =A0=A0 104391=A0=A0 83=A0 Linux
/dev/sda2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 14=A0=A0=A0=A0=A0=A0=A0 2180=A0=A0=A0 17406427+=A0 82=A0 Linux swap / Sola= ris
/dev/sda3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 2181=A0=A0=A0=A0=A0=A0 42= 776=A0=A0 326087370=A0=A0 83=A0 Linux
/dev/sda4=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 42777=A0=A0=A0=A0=A0=A0 53309=A0=A0=A0 84606322+=A0=A0 5=A0 Extended=
/dev/sda5=A0=A0 *=A0=A0=A0=A0=A0=A0 42777=A0=A0=A0=A0=A0=A0 53309=A0=A0= =A0 84606291=A0=A0 83=A0 Linux
[root@Server1-FC11 ~]# df -l
Filesystem=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 1K= -blocks=A0=A0=A0=A0=A0 Used Available Use% Mounted on
/dev/sda5=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 83277720=A0 22241624=A0 56805784=A0 29% /
tmpfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 4069668=A0= =A0=A0=A0=A0=A0=A0 92=A0=A0 4069576=A0=A0 1% /dev/shm
xenstore=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 4069668=A0=A0=A0=A0=A0=A0=A0 40=A0=A0 406= 9628=A0=A0 1% /var/lib/xenstored

Regards
Fasiha Ashraf

---= On Mon, 26/10/09, Mr. Teo En Ming (Zhang Enming) <space.time.universe@gmail.com> wrote:

From: Mr. Teo En Ming (Zhang Enming) <space.time.universe@gmail.com>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found:= xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk@yahoo.co.in>
Cc: bderzhavets@yahoo.com, "xen" <xen-devel@lists.xensource.com>
Date= : Monday, 26 October, 2009, 3:43 PM


I didn= 't use virt-manager. I had it un-installed. For PV guests configuration= , please see

http://bderzhavets.wordpress.com/2009/06/10/s= etup-fedora-11-pv-domu-at-xen-3-4-1-dom0-kernel-2-6-30-rc6-tip-on-top-of-fe= dora-11/

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mech= anical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) Nat= ional University of Singapore
Blog URL: http://teo-= en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@gmail.com
MSN: <= a rel=3D"nofollow" href=3D"http://mc/compose?to=3Dteoenming@hotmail.com" ta= rget=3D"_blank">teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 200= 9 at 6:36 PM, Fasiha Ashraf <feehapk@y= ahoo.co.in> wrote:
Hi all
I am facing this error while installing Guest VM on FC11 using vi= rt-manager
Unable to complete install '<class 'libvirt.libvir= tError'> Domain not found: xenUnifiedDomainLookupByName
Traceback= (most recent call last):
=A0 File "/usr/share/virt-manager/virtManager/create.py", line 15= 75, in do_install
=A0=A0=A0 dom =3D guest.start_install(False, meter =3D= meter)
=A0 File "/usr/lib/python2.6/site-packages/virtinst/Guest.p= y", line 628, in start_install
=A0=A0=A0 return self._do_install(consolecb, meter, removeOld, wait)
=A0= File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line = 726, in _do_install
=A0=A0=A0 self.domain =3D self.conn.createLinux(inst= all_xml, 0)
=A0 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 10= 77, in createLinux
=A0=A0=A0 if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=3Dse= lf)
libvirtError: Domain not found: xenUnifiedDomainLookupByName
'= ;
What should i do to avoid it? please help!
Boris! How did you creat= e PV guests using virt-manager i am following your article
=A0http://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

Regards,
Fasiha Ashraf


Try the new Yahoo! India Homepage. Click here.

____________________________= ___________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel






-----Inline Attachment Follows-----


= _______________________________________________
Xen-devel mailing listXen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel


Connect more, do more and share more with Yahoo! Indi= a Mail. Learn more.





-----Inline Attachment Follows--= ---

_______________________________________________
Xen-deve= l mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel




=

Keep up with people you care about with Yahoo! India = Mail. Learn how.




--0015175ce09401284b0476fd8b13-- --===============1514493175== 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 --===============1514493175==--