[one-users] problem with multiple instance type via EC2

Olivier Sallou olivier.sallou at irisa.fr
Wed May 23 06:37:22 PDT 2012



Le 5/23/12 3:31 PM, Olivier Sallou a écrit :
> Hi,
> I have declared multiple instance type for EC2 (econe-server), in my
> conf files, but I cannot get it work except the first one (small).
>
> econe-server trace at startup:
> {:associate_script=>"/usr/bin/false",
>  :template_location=>"/etc/one/ec2query_templates",
>  :core_auth=>"cipher",
>  :server=>"192.168.2.91",
>  :disassociate_script=>"/usr/bin/false",
>  :auth=>"ec2",
>  :views=>"/usr/lib/one/ruby/cloud/econe/views",
>  :instance_types=>
>   {:"m1.small"=>{:template=>"m1.small.erb"},
>    :"m1.medium"=>{:template=>"m1.medium.erb"}},
>  :port=>4567,
>  :one_xmlrpc=>"http://localhost:2633/RPC2",
>  :debug_level=>3}
>
>
> When I request m1.small via EC2, everythinf is fine.
> When I request m1.medium, it fails. I see no error in the logs.
If I set in my config m1.large instead of m1.medium (pointing to the
same file), it works....

Seems it does not accept medium name.

> both templates only differ in name, cpu and RAM:
>
> root:/etc/one/ec2query_templates# diff m1.small.erb m1.medium.erb
> 2c2
> < NAME   = eco-vm
> ---
>> NAME   = medium-vm
> 5,6c5,6
> < CPU    = 1
> < MEMORY = 2048
> ---
>> CPU    = 4
>> MEMORY = 8192
> Any idea how to debug this?
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438





More information about the Users mailing list