[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: "Todd Deshane" <todd.deshane@xxxxxxx>
  • 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
  • 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=
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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:

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



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

-----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:
> =(
> 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.
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.