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-users

Re: [Xen-users] Error code: INVALID_SOURCE while VM start

To: "Todd Deshane" <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] Error code: INVALID_SOURCE while VM start
From: "Rafael Weingartner" <rafaelweingartner@xxxxxxxxx>
Date: Mon, 20 Jun 2011 10:36:01 -0300
Cc: Xen-user-list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Jun 2011 06:37:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:cc:references:in-reply-to :subject:date:mime-version:content-type:x-priority:x-msmail-priority :importance:x-mailer:x-mimeole; bh=4rkXsiZloiPCG9GsFkumG9O5D6+dF/MyHgjRDTqfIOM=; b=Y34kzppqq9/R1bmE+i9AepveU53PM0aPbrAqVfrRQOEzCE0kUhUc/PaniZsxUh2b+N pykszDKhYp2WML4/4j5wPS6hf2M55PoINlqfsXAwzoMwxr+Ryx0Ej/TmXoThl08mV+OG C9qZLURsBqLGyGlgeHNkLiMGeeMXujwQPw61s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:x-priority:x-msmail-priority:importance :x-mailer:x-mimeole; b=f1nE/PIZZcHMNbklDske6YjWZM3XwbpY/34PADLR7RUZQBo8V7lFJqSBMow9Y/gQSw /SdkT8HuQGcclobIPtjCwSc24oG4ee4ty26/NcLyNnsolPaGUFz7aV3ZpKrxc5uD09Tn 3r6Y0Di25yACjlrP6m6l8fCFFxfs3u3JWimp0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <BANLkTin0fReto1gAbBwPTR0zuOg7Lmhs2w@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: <F27E57F1FCA5439C84C5F773090A75FC@RafaelNotebook> <BANLkTikAO9-QfNRE8WxFQFdaumpk1O87uw@xxxxxxxxxxxxxx> <1EE691AD60264C8A98D000F5E8804A98@RafaelNotebook> <BANLkTi=n+gRHK-oOdJuKOVhat2qeKsEbQw@xxxxxxxxxxxxxx> <5958F0425D474868A58510A18BF73709@RafaelNotebook> <BANLkTin0fReto1gAbBwPTR0zuOg7Lmhs2w@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hello guys,
I am using the Xen server on a virtual box. I am doing this because I just wanna test. And this is the easiest way. I wondered that I could not use HVM guests. And that is why I am trying to create a Linux virtual machine.

I double checked the document:
http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb/guest.html#installingVM-lenny

And here are the commands that I am using and the outputs that I am receiving:

--Creating a new VM
[root@xenserver1 ~]# xe vm-install template=Ubuntu\ Lucid\ Lynx\ 10.04\ \(32-bit\)\ \(experimental\) new-name-label=Ubuntu-32bits

c9f6ba77-329e-7d5f-a9d6-c8360b261341

 

--Setting the VM-Disk to not bootable
[root@xenserver1 ~]# xe vbd-list vm-name-label=Ubuntu-32bits type=Disk params=uuid

uuid ( RO) : f3d46d15-ce2a-4caa-f76e-a0f1c2879290

xe vbd-param-set uuid=f3d46d15-ce2a-4caa-f76e-a0f1c2879290 bootable=false

 

--Getting all my CDs on my Xen server
[root@xenserver1 ~]# xe cd-list

uuid ( RO) : 1c30a629-221d-440f-a612-d2a8dd2c2d9b

name-label ( RW): SCSI 2:0:0:0

 

uuid ( RO) : 3f94cd78-2c72-40a1-8a16-00bdb230242a

name-label ( RW): ubuntu-i386.iso

 

uuid ( RO) : ab3b9d99-c12e-4a4f-aeea-2d1402ce9a2d

name-label ( RW): xs-tools.iso

 

uuid ( RO) : f246966a-d75b-4c0c-8242-e71a876becbc

name-label ( RW): debian-6.0.1a-i386-netinst.iso\

 

--Adding the Ubuntu iso into the VM.
[root@xenserver1 ~]# xe vm-cd-add vm=Ubuntu-32bits cd-name=ubuntu-i386.iso device=3

 

--Setting the Ubuntu ISO to booteable
[root@xenserver1 ~]# xe vbd-list vm-name-label=Ubuntu-32bits type=CD params=uuid

uuid ( RO) : 64797598-69b7-6b43-b593-f191ab0138be

[root@xenserver1 ~]# xe vbd-param-set uuid=64797598-69b7-6b43-b593-f191ab0138be bootable=true

 

--Trying to start the VM.
[root@xenserver1 ~]# xe vm-start uuid=c9f6ba77-329e-7d5f-a9d6-c8360b261341

Error code: UNSUPPORTED_INSTALL_METHOD

Error parameters: other-config:install-repository was not set to an appropriate value, and this is required for the selected distribution type., ,

 

--Setting the install-repository parameter.
[root@xenserver1 ~]# xe vm-param-set uuid=c9f6ba77-329e-7d5f-a9d6-c8360b261341 other-config:install-repository=cdrom

 

--Trying to start the VM again.
[root@xenserver1 ~]# xe vm-start uuid=c9f6ba77-329e-7d5f-a9d6-c8360b261341 Error code: INVALID_SOURCE

Error parameters: Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-hb1eMa/install.386/xen/vmlinuz., ,

 

So, guys after you see the steps that I am using, Do you have any idea of the problem?

Thanks,
Rafael
 
-----Mensagem Original-----
From: Todd Deshane
Sent: Saturday, June 18, 2011 10:38 PM
To: Rafael Weingartner
Cc: Xen-user-list
Subject: Re: [Xen-users] Error code: INVALID_SOURCE while VM start
 
On Sat, Jun 18, 2011 at 11:46 AM, Rafael Weingartner
<rafaelweingartner@xxxxxxxxx> wrote:
> We are using the same versions of XCP and Open Xen Manager.
> Now just to make sure, I installed the xen server again. And added the NFS
> storage and NFS Iso using the Open Xen Manager.
> So, I tried to create the VM using the manager. And I am still getting the
> same error.
>
 
Can you double check what you are doing against:
http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb/guest.html
 
> =(
>
> I really don't know what is happening.
> Have you guys tried to use Xen over a virtual box instance ?
>
 
So you are using XCP installed in a virtual box instance? You may run
into a problem for HVM guests if you virtual box can't pass through
the virtualization extensions properly, but for PV guest things should
work fine.
 
Thanks,
Todd
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users