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

Re: [Xen-API] [newbie] wiki has to be updated: INVALID_SOURCE



Thanks, it works.

I kindly suggest you to update the wiki page
http://wiki.xen.org/wiki/Command_Line_Interface#Virtual_Machine_Examples

since this could be the first place were newbies like me starts to use XCP (and it quite frustrating stop himself at the first step).

For your convenince, I have pasted all the command I've used.

I'll put, in this page, even the "xl console <vm-nam>", since I was not imeediately clear what "go to its console" meant.

Cheers,
 Massimo

xe vm-install template=Debian\ Squeeze\ 6.0\ \(32-bit\) new-name-label=myVM

xe vm-param-set uuid=f4eb1c90-104d-2799-4dcb-460bda88d7f0 other-config:install-repository=http://ftp.debian.org/debian/

xe vif-create network-uuid=f7a15534-ec1d-ca62-013c-38df645fa706 vm-uuid=f4eb1c90-104d-2799-4dcb-460bda88d7f0 device=0

xe vm-start vm=myVM

xl console myVM



On 06/15/2012 04:26 PM, Mike McClurg wrote:
On 14/06/12 16:25, Massimo Canonico wrote:
Hi,
it seems that the wiki page has not yet updated, since I had the same
problem mentioned here:
http://www.gossamer-threads.com/lists/xen/users/202592

I followed the Mike's suggestion but I did not make much progress, since
the repository is not valid:


Hi Massimo,

You have two problems. One, you need to set the repository to 'http://ftp.debian.org/debian/', not just 'http://ftp.debian.org/'. You should delete the VM and start again with the correct repo URL.

Two, Lenny is no longer supported, and there is no Lenny dist on ftp.debian.org. You'll have to use the Squeeze template instead.

Mike

[root@minicloud ~]# xe vm-start vm=merda
Error code: INVALID_SOURCE
Error parameters: Unable to access a required file in the specified
repository:
....http://ftp.debian.org/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz

Would you provide a working example for who has just installe XCP, please?

(below, all commands that I have done)

Thanks,
   M

[root@minicloud ~]# xe vm-install template=Debian\ Lenny\ 5.0\
\(32-bit\) new-name-label=merda
7c140a06-b8ed-29e2-0371-238ee7cfafb9

[root@minicloud ~]# xe vm-param-set
uuid=7c140a06-b8ed-29e2-0371-238ee7cfafb9
other-config:install-repository=http://ftp.debian.org/

[root@minicloud ~]# xe vif-create
network-uuid=f7a15534-ec1d-ca62-013c-38df645fa706
vm-uuid=7c140a06-b8ed-29e2-0371-238ee7cfafb9   device=0
8fcfec0d-9014-4c4b-6876-f3f349a4cd70

[root@minicloud ~]# xe vm-start vm=merda
Error code: INVALID_SOURCE
Error parameters: Unable to access a required file in the specified
repository:
http://ftp.debian.org/dists/lenny/main/installer-i386/current/images/netboot/xen/vmlinuz.,
,



_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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