[one-users] problem with multiple instance type via EC2
Olivier Sallou
olivier.sallou at irisa.fr
Wed May 23 06:31:12 PDT 2012
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.
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?
--
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