any idea?

Quoting Daniel Molina <dmol...@opennebula.org>:

It looks like you have a syntax error in ec2_driver.conf

On 24 October 2014 11:25, <i...@cyle.ch> wrote:

Fri Oct 24 11:17:09 2014 [Z0][InM][D]: Monitoring host eu-west-1 (31)
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: Command execution fail:
/var/lib/one/remotes/im/run_probes ec2 /var/lib/one//datastores 4124 20
31 eu-west-1
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: /usr/lib/ruby/1.8/yaml.rb:133:in
`load': syntax error on line 1, col 9: `        default:' (ArgumentError)
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from /usr/lib/ruby/1.8/yaml.rb:133:in
`load'
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./../../vmm/ec2/ec2_driver.rb:208:in
`initialize'
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./poll:24:in `new'
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./poll:24
Fri Oct 24 11:17:09 2014 [Z0][InM][E]: Error executing poll
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: ExitCode: 1
Fri Oct 24 11:17:09 2014 [Z0][ONE][E]: Error monitoring Host eu-west-1
(31): Error executing poll

Thanks
Cyrill



Quoting Daniel Molina <dmol...@opennebula.org>:

 Hi,

Could you check if there is any error in /var/log/one/oned.log?

Cheers

On 24 October 2014 10:18, <i...@cyle.ch> wrote:

 Hi Steven

they are all installed
any other suggestion? as soon as i create a new host with ec2 it fails in
to error state

thank for response
Cyrill



Quoting Steven C Timm <t...@fnal.gov>:

 We did this on a test server a while ago in an early open nebula

version.  Check to be sure
that you have all the required Ruby gems installed.  I believe there is
an aws-specific one
you have to install just to make the AWS stuff work.

Steve Timm

________________________________________
From: Users [users-boun...@lists.opennebula.org] on behalf of
i...@cyle.ch [i...@cyle.ch]
Sent: Wednesday, October 22, 2014 3:03 PM
To: users@lists.opennebula.org
Subject: [one-users] Add Ec2 Host to OpenNebula 4.8 for Cloudbursting

Dear Community

i try to add an ec2 host for Cloudbursting to my OpenNebula 4.8 Private
Cloud.

i have configured

IM_MAD = [
     name       = "ec2",
     executable = "one_im_sh",
     arguments  = "-c -t 1 -r 0 ec2" ]

VM_MAD = [
     name       = "ec2",
     executable = "one_vmm_sh",
     arguments  = "-t 15 -r 0 ec2",
     type       = "xml" ]

in the /etc/one/oned.conf

AND:

regions:
     default:
         region_name: eu-west-1
         access_key_id: My_ACCESS_KEY
         secret_access_key: MY_SECRET_ACCESS_KEY
         capacity:
             m1.small: 5
             m1.large: 0
             m1.xlarge: 0

in /etc/one/ec2_driver.conf

but, if i create the ec2 host with:
onehost create ec2 --im ec2 --vm ec2 --net dummy
i always receive an error message

ec2 err | ERROR         Wed Oct 22 21:52:54 2014 : Error monitoring Host
eu-west-1 (26): Error executing poll


Thanks for assistance
Best regards
Cyrill

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



_______________________________________________
Users mailing list
Users@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 | dmol...@opennebula.org | @OpenNebula






--
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula


_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to