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/
Home Products Support Community News


Re: [Xen-users] Complete Xen n00b getting stuck trying to create a VM

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] Complete Xen n00b getting stuck trying to create a VM
From: Ewan Slater <ewan.slater@xxxxxxxxxxxxxx>
Date: Tue, 22 Jun 2010 11:17:16 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Jun 2010 03:18:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=upoiiHSi3pSWBQKETvV2J0hLQ2hCNwL8FveGTdn8xlU=; b=opnKeYx2hjOqb4ooLFZlZIIQXKbHg+l5JVwMH9aqvuHcNHzwcnEXi9yRcVaalIleZq i3CKySlP+XB7uj5/gGXhl8E+UfZ8gxtlm+8bEPJk4bfRuHZ4k6xpfdIFya6JMg+tZijW 9IEsVTFjyoftcwA0nxMrsgwum32c9Rsd0hTg8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RJUPT/su4Z1Ub8mvwTh7e3cjn+EgViOyx3Fv2aHpuTfJ8QvOW2eHjboW0dMMKhGVQo SXumr9Ys3GiiGB20HFoUL9mYwaLr3eRQ/RBF9LSQAdqICt4OK8sV+WIGwcBxKx8IOkW/ KfVtWOxo5mxCGfKdzwiWOi78UZge/PucIQTNc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTiku8dpj44i-ZeyRQBdyhsOPQ8sfsI8Mvy7XsGmU@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTik50rICiVjYhkqEvw1aIBkmN14iRpcQ80yNoPqO@xxxxxxxxxxxxxx> <AANLkTinhEKVQqYI7_kN_e_NBfDWxdUO08TYMnjpCh9jA@xxxxxxxxxxxxxx> <AANLkTikslBWFtsJGRq1pApfgyglqUQO1Mh12jeGZrzbf@xxxxxxxxxxxxxx> <AANLkTiku8dpj44i-ZeyRQBdyhsOPQ8sfsI8Mvy7XsGmU@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
What I'm trying to do is to run through the example on page 18 of "The
Book of Xen" by Takemura & Crawford.

I'm trying to use CentOS because that's what they used in the book.

so CentOS host with virtualisation.  Getting it's ip address from DHCP.

my virt-install is as follows:

[root@localhost ~]# virt-install --prompt
What is the name of your virtual machine? capello
 How much RAM should be allocated (in megabytes)? 256
 What would you like to use as the disk (file path)?
 How large would you like the disk (/var/lib/xen/images/capello.img)
to be (in gigabytes)? 4
 What is the install URL?

Starting install...
Retrieving file .treeinfo...                             |  413 B     00:00
Retrieving file vmlinuz...                               | 2.1 MB     00:00
Retrieving file initrd.img...                            | 7.2 MB     00:00
Creating storage file...                                 | 4.0 GB     00:00
Creating domain...                                       |    0 B     00:00

The apache error_log contains the following:
[Tue Jun 22 07:22:42 2010] [error] [client] (70014)End of
file found: mod_mime_magic: read failed from uncompress of

I did tail -f on the access_log but nothing seems to be being written there.

How would I tell if the DomU gets an IP address (I specified DHCP when
prompted by the install in the VM)?



On 22 June 2010 10:11, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, Jun 22, 2010 at 3:16 PM, Ewan Slater <ewan.slater@xxxxxxxxxxxxxx> 
> wrote:
>> Then the installer in the VM tells me that it is "unable to retrieve
>>";.  Note the "//" after the
>> ip address.  I am definitely not putting a second slash in there when
>> I specify the URL.
> The extra slash should be fine. I'm more concern about your network
> setup. What does your virt-install line look like? does domU get an IP
> address? does http log on dom0 shows ANY access from domU's IP
> address?
> Usually it's easier to put domU on virbr0 bridge, and let domU use
> dhcp to configure its IP address.
>> As I said, I can browse to the URL just fine, and see stage2.img.
> Can you download it to your computer? Just trying to eliminate
> possible selinux/permission-related problem.
> --
> Fajar

Xen-users mailing list