cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Páll Helgason <pa...@greenqloud.com>
Subject Create template from snapshot using ec2
Date Wed, 23 Apr 2014 14:37:21 GMT
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
View raw message