Ask Your Question
0

can not start cluster

asked 2013-08-09 08:09:35 -0500

jfzhang1984 gravatar image

when I start a cluster, sometimes it can be turn to active state, but sometimes it throws an error as follows:

2013-08-09 10:35:53.936 23506 WARNING savanna.service.instances [-] Can't start cluster 'asd' (reason: [Errno 111] ECONNREFUSED) 2013-08-09 10:35:53.939 23506 WARNING savanna.plugins.vanilla.config_helper [-] Plugin recieved wrong applicable target 'general' for xml configs 2013-08-09 10:35:53.941 23506 WARNING savanna.plugins.vanilla.config_helper [-] Plugin recieved wrong applicable target 'general' in environmental configs 2013-08-09 10:35:53.941 23506 WARNING savanna.plugins.vanilla.config_helper [-] Plugin recieved wrong applicable target 'general' for xml configs 2013-08-09 10:35:53.942 23506 WARNING savanna.plugins.vanilla.config_helper [-] Plugin recieved wrong applicable target 'general' in environmental configs Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet-0.13.0-py2.7.egg/eventlet/hubs/poll.py", line 99, in wait writers.get(fileno, noop).cb(fileno) File "/usr/local/lib/python2.7/dist-packages/eventlet-0.13.0-py2.7.egg/eventlet/greenthread.py", line 194, in main result = function(args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/context.py", line 127, in wrapper func(args, *kwargs) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/service/api.py", line 115, in _provision_cluster plugin.configure_cluster(cluster) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/plugins/vanilla/plugin.py", line 81, in configure_cluster self._push_configs_to_nodes(cluster) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/plugins/vanilla/plugin.py", line 192, in _push_configs_to_nodes 'sudo chown -R $USER:$USER /etc/hadoop' File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/utils/remote.py", line 142, in execute_command return execute_command(self.ssh_connection(), cmd) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/utils/remote.py", line 133, in ssh_connection self._ssh = self.helper.ssh_connection() File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/utils/remote.py", line 96, in ssh_connection self.instance.node_group.cluster.private_key) File "/usr/local/lib/python2.7/dist-packages/savanna-0.2.1-py2.7.egg/savanna/utils/remote.py", line 31, in setup_ssh_connection ssh.connect(host, username=username, pkey=private_key) File "/usr/local/lib/python2.7/dist-packages/paramiko-1.11.0-py2.7.egg/paramiko/client.py", line 305, in connect retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/lib/python2.7/dist-packages/paramiko-1.11.0-py2.7.egg/paramiko/util.py", line 278, in retry_on_signal return function() File "/usr/local/lib/python2.7/dist-packages/paramiko-1.11.0-py2.7.egg/paramiko/client.py", line 305, in <lambda> retry_on_signal(lambda: sock.connect(addr)) File "/usr/local/lib/python2.7/dist-packages/eventlet-0.13.0-py2.7.egg/eventlet/greenio.py", line 194, in connect socket_checkerr(fd) File "/usr/local/lib/python2.7/dist-packages/eventlet-0.13.0-py2.7.egg/eventlet/greenio.py", line 46, in socket_checkerr raise socket.error(err, errno.errorcode[err]) error: [Errno 111] ECONNREFUSED Removing descriptor: 5

edit retag flag offensive close merge delete

12 answers

Sort by ยป oldest newest most voted
0

answered 2014-02-10 05:11:53 -0500

Hi Andrew Lazarev,

As per your suggestion, I used VM image centos-6_64-hdp-1.3.qcow2 from [link : http://savanna.readthedocs.org/en/latest/userdoc/hdp_plugin.html] (http://savanna.readthedocs.org/en/lat...) .

The VM instances are in ACTIVE state, I can ping and SSH into them .But the cluster is in 'configuring' state from one day.

I used centos-6_64-hdp-1.3.qcow2 image . The savanna logs is as follows:

savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:21.703 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:26.707 19754 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.16.8.28 2014-02-10 04:24:26.708 19754 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.16.8.28 2014-02-10 04:24:26.709 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:26.709 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ...

I found this information from https://bugs.launchpad.net/savanna/+bug/1259836 (https://bugs.launchpad.net/savanna/+b...) that the latest HDP vm image should resolve this issue .But I am still facing this problem.

What could be the problem ? please help.

edit flag offensive delete link more
0

answered 2014-02-19 06:42:21 -0500

gzsgwsgwl gravatar image

hi,Gowri, no matter which question you encoutered, from the log it should be your savanna server can't ssh to that vm(name node or data node). now ,have you fix these problem?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-09 08:09:35 -0500

Seen: 246 times

Last updated: Feb 19 '14