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

Daniel Molina dmolina at opennebula.org
Mon Jun 4 05:21:19 PDT 2012


Hi Olivier,

On 23 May 2012 15:37, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
>
>
> 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?
>>

The m1.medium instance type was introduced in EC2 three months ago
[1], so maybe the client/gem you are using does not support it yet.
What client are you using to interact with the econe server?

[1] http://aws.typepad.com/aws/2012/03/ec2-updates-new-instance-64-bit-bit-ubiquity-ssh-client.html

Cheers

>
> --
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list