[one-users] EC2 driver error (ONE 4.6 beta)

Daniel Molina dmolina at opennebula.org
Mon Mar 31 07:14:05 PDT 2014


Hi Stefan,


On 31 March 2014 15:16, Stefan Kooman <stefan at bit.nl> wrote:

> Hi,
>
> One of the TechDay attendee was so excited about cloud-bursting he
> tried the same evening in his own cloud. At first he didn't succeed.
> This turned out to be a template problem with a "KEYPAIR" containing a
> "space". I tried to reproduce that, but in the process I hit some errors:
>
> Add a EC2 host:
>
> onehost create eu-west-1 --im ec2 --vm ec2 --net dummy
>
> Resulting in:
>
> Mon Mar 31 14:56:06 2014 [InM][D]: Monitoring host eu-west-1 (4)
> Mon Mar 31 14:56:07 2014 [InM][I]: Command execution fail:
> /var/lib/one/remotes/im/run_probes ec2 /var/lib/one//datastores 4124 20
> 4 eu-west-1
> Mon Mar 31 14:56:07 2014 [InM][I]:
> /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `*': nil can't be
> coerced into Float (TypeError)
> Mon Mar 31 14:56:07 2014 [InM][I]: from
> /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:304:in `block in
> monitor_all_vms'
> Mon Mar 31 14:56:07 2014 [InM][I]: from
> /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `each'
> Mon Mar 31 14:56:07 2014 [InM][I]: from
> /var/lib/one/remotes/vmm/ec2/ec2_driver.rb:303:in `monitor_all_vms'
> Mon Mar 31 14:56:07 2014 [InM][I]: from ./poll:26:in `<main>'
> Mon Mar 31 14:56:07 2014 [InM][E]: Error executing poll
>
> Relevant info in ec2_driver.conf:
>
> eu-west-1:
>         region_name: eu-west-1
>         access_key_id: STRING
>         secret_access_key: ANOTHER_STRING
>         capacity:
>             t1.micro: 1
>             m1.small:
>             m1.large:
>             m1.xlarge:
>
> I added the "t1.micro: 1".
>
> This is opennebula 4.6 beta. Any hints?
>

Could you try removing the m1.small|large|... empty fields or setting them
to 0?

Cheers


>
> Gr. Stefan
>
>
> --
> | BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
> | GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140331/4c54f3b8/attachment-0002.htm>


More information about the Users mailing list