WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifi

To: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Wed, 28 Oct 2009 20:00:37 +0800
Cc: bderzhavets@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, space.time.universe@xxxxxxxxx
Delivery-date: Wed, 28 Oct 2009 05:01:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=znXC7jPJoQwYb0f7cAQixSs/3tU88AuJ3UEkKI9w5bs=; b=K2EicXuH/bF90U4x4hvpsvMeF6gWGZQGy4sY90EsA/EP3zwZ2HnolzI18mfjS0Np0j 2eVQj8qTU+Ond3IE5HNEskvIkpcokpeNodDoF4dsdc9nkrOKiBk2o5yiX7yjDNaAjvCq 1Bw08SooA12mZJUphzTjJxafPOKqytmRt3ACA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=C5A+m3DWEe4KrRFFpRX5nI6RKSstfBaYrvhi5JyvS/f3gD7UcIRKK8Z3ERceSO1iXs Cr3GgHkbDMvM4z3aQi/C006tpYFAiDDSQUveKoD7yqZlt/or6XBze42kVP6b17N7hUpd jM3YcOX3EMBPQWL0jYhYZOpWgNRk/VZguUjBE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <602820.96464.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0910270042o665d2b34la4bc15eae9cd9574@xxxxxxxxxxxxxx> <602820.96464.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Tue, Oct 27, 2009 at 4:34 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> 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

>>
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@xxxxxxxxx> wrote:

From: Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk@xxxxxxxxxxx>
Cc: bderzhavets@xxxxxxxxx, "xen" <xen-devel@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Tue, Oct 27, 2009 at 3:37 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> 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@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 2009 at 7:41 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> 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@xxxxxxxxx> wrote:

From: Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx>
Subject: Re: [Xen-devel] Unable to complete install: 'Domain not found: xenUnifiedDomainLookupByName
To: "Fasiha Ashraf" <feehapk@xxxxxxxxxxx>
Cc: bderzhavets@xxxxxxxxx, "xen" <xen-devel@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore

On Mon, Oct 26, 2009 at 6:36 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
Hi all
I am facing this error while installing Guest VM on FC11 using virt-manager
Unable to complete install '<class 'libvirt.libvirtError'> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel






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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
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.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel