Post

2 followers Follow
0
Avatar

Adding EC2 Host

Hi.,

 

I am trying to add EC2 host to vOneCloud. It shows error on webUI without success. If I click refresh, it turns into init, a few second later, it says error again. Thanks.

 

Below are logs.

vOneCloud 1.8.0

[root@localhost ~]# gem -v
2.0.14
[root@localhost ~]# oned -v
Copyright 2002-2015, OpenNebula Project, OpenNebula Systems

OpenNebula 4.14.1 is distributed and licensed for use under the terms of the
Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).

[root@localhost ~]# gem list | grep aws
aws-sdk (2.5.11)
aws-sdk-core (2.5.11)
aws-sdk-resources (2.5.11)
aws-sdk-v1 (1.66.0)

oned.log

Mon Sep 19 03:41:14 2016 [Z0][InM][D]: Monitoring host EC2 (3)
Mon Sep 19 03:41:14 2016 [Z0][InM][I]: Command execution fail: /var/lib/one/remotes/im/run_probes ec2 /var/lib/one//datastores 4124 20 3 EC2
Mon Sep 19 03:41:14 2016 [Z0][InM][I]: /usr/lib/one/ruby/ec2_driver.rb:221:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
Mon Sep 19 03:41:14 2016 [Z0][InM][I]: from ./poll:32:in `new'
Mon Sep 19 03:41:14 2016 [Z0][InM][I]: from ./poll:32:in `<main>'
Mon Sep 19 03:41:14 2016 [Z0][InM][E]: Error executing poll
Mon Sep 19 03:41:14 2016 [Z0][InM][I]: ExitCode: 1
Mon Sep 19 03:41:14 2016 [Z0][ONE][E]: Error monitoring Host EC2 (3): Error executing poll
Mon Sep 19 03:41:24 2016 [Z0][AuM][D]: Message received: AUTHENTICATE SUCCESS 1414 -

ec2_driver.conf

regions:
ap-northeast-1:
region_name: ap-northeast-1
access_key_id: XXXXXXX
secret_access_key: XXXXXXX
capacity:
m1.small: 5
m1.large: 0
m1.xlarge: 0

 

 

 

 

 

Michael Tam

Please sign in to leave a comment.

1 comment