cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marty Sweet <msweet....@gmail.com>
Subject Re: Create template from snapshot using ec2
Date Fri, 25 Apr 2014 18:33:13 GMT
Hi Pall,

I have CC'ed in the users mailing list as they might have more suggestions
there.

In the meantime, please can you provide the management-server.log around
the time when you run this API command. It might provide a useful insight
to the problem.
Also, how you do mean 'fails on the url'? What does it return? an error
code? JSON array?

Marty




On 23 April 2014 15:37, Páll Helgason <palli@greenqloud.com> wrote:

> Hi,
>
> Maybe someone here can help me with this. I’m trying to create a template
> from a snapshot (CS 4.2.1 + VMWare 5.0) created with the ec2 tools.
> Creating the snapshot works just fine (and so does ec2-create-image). But
> when I try to register the snapshot as a template it’s just not working.
>
> The command I use is ec2-register -d test -n CentosFromSnapshot -s
> c651d9b9-fd17-4002-b32f-c46ad27c93ac -a ova:VUmc:Other:VMWare (figured out
> the -a stuff from the code). According to the awsapi logs this calls
>
>
> http://127.0.0.1:8080/client/api?command=registerTemplate&response=json&zoneid=596ee614-0917-496c-bce3-129254c3e110&hypervisor=VMWare&name=CentosFromSnapshot&displaytext=test&format=ova&url=null&ostypeid=1f3da26c-c553-11e3-b989-005056b0541d&apikey=xxx&signature=xxxx
>
> which of course fails on the url. Going through the code I can’t find
> anything that is handling the -s parameter. Am I missing something or is
> this not implemented?
>
> Cheers,
>
> --
> *Páll Helgason*
> Core Team
>
> Tel: (+354) 415 0202
> palli@greenqloud.com
> www.greenqloud.com
>
>
>
>

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message