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

Stefan Kooman stefan at bit.nl
Mon Mar 31 06:16:14 PDT 2014


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?

Gr. Stefan


-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl


More information about the Users mailing list