<div dir="ltr">It looks like you have a syntax error in ec2_driver.conf</div><div class="gmail_extra"><br><div class="gmail_quote">On 24 October 2014 11:25, <span dir="ltr"><<a href="mailto:info@cyle.ch" target="_blank">info@cyle.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fri Oct 24 11:17:09 2014 [Z0][InM][D]: Monitoring host eu-west-1 (31)<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_<u></u>probes ec2 /var/lib/one//datastores 4124 20 31 eu-west-1<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: /usr/lib/ruby/1.8/yaml.rb:133:<u></u>in `load': syntax error on line 1, col 9: ` default:' (ArgumentError)<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from /usr/lib/ruby/1.8/yaml.rb:133:<u></u>in `load'<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./../../vmm/ec2/ec2_driver.rb:<u></u>208:in `initialize'<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./poll:24:in `new'<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: from ./poll:24<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][E]: Error executing poll<br>
Fri Oct 24 11:17:09 2014 [Z0][InM][I]: ExitCode: 1<br>
Fri Oct 24 11:17:09 2014 [Z0][ONE][E]: Error monitoring Host eu-west-1 (31): Error executing poll<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
Cyrill</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
Quoting Daniel Molina <<a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Could you check if there is any error in /var/log/one/oned.log?<br>
<br>
Cheers<br>
<br>
On 24 October 2014 10:18, <<a href="mailto:info@cyle.ch" target="_blank">info@cyle.ch</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Steven<br>
<br>
they are all installed<br>
any other suggestion? as soon as i create a new host with ec2 it fails in<br>
to error state<br>
<br>
thank for response<br>
Cyrill<br>
<br>
<br>
<br>
Quoting Steven C Timm <<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>>:<br>
<br>
We did this on a test server a while ago in an early open nebula<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
version. Check to be sure<br>
that you have all the required Ruby gems installed. I believe there is<br>
an aws-specific one<br>
you have to install just to make the AWS stuff work.<br>
<br>
Steve Timm<br>
<br>
______________________________<u></u>__________<br>
From: Users [<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.<u></u>opennebula.org</a>] on behalf of<br>
<a href="mailto:info@cyle.ch" target="_blank">info@cyle.ch</a> [<a href="mailto:info@cyle.ch" target="_blank">info@cyle.ch</a>]<br>
Sent: Wednesday, October 22, 2014 3:03 PM<br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: [one-users] Add Ec2 Host to OpenNebula 4.8 for Cloudbursting<br>
<br>
Dear Community<br>
<br>
i try to add an ec2 host for Cloudbursting to my OpenNebula 4.8 Private<br>
Cloud.<br>
<br>
i have configured<br>
<br>
IM_MAD = [<br>
name = "ec2",<br>
executable = "one_im_sh",<br>
arguments = "-c -t 1 -r 0 ec2" ]<br>
<br>
VM_MAD = [<br>
name = "ec2",<br>
executable = "one_vmm_sh",<br>
arguments = "-t 15 -r 0 ec2",<br>
type = "xml" ]<br>
<br>
in the /etc/one/oned.conf<br>
<br>
AND:<br>
<br>
regions:<br>
default:<br>
region_name: eu-west-1<br>
access_key_id: My_ACCESS_KEY<br>
secret_access_key: MY_SECRET_ACCESS_KEY<br>
capacity:<br>
m1.small: 5<br>
m1.large: 0<br>
m1.xlarge: 0<br>
<br>
in /etc/one/ec2_driver.conf<br>
<br>
but, if i create the ec2 host with:<br>
onehost create ec2 --im ec2 --vm ec2 --net dummy<br>
i always receive an error message<br>
<br>
ec2 err | ERROR Wed Oct 22 21:52:54 2014 : Error monitoring Host<br>
eu-west-1 (26): Error executing poll<br>
<br>
<br>
Thanks for assistance<br>
Best regards<br>
Cyrill<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
<br>
</blockquote>
<br>
<br>
<br>
--<br>
--<br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div>