Ask Your Question
0

Sahara Can't login to node

asked 2014-10-02 10:59:27 -0600

Tarciso Ferreira gravatar image

updated 2014-10-02 11:18:35 -0600

mpetason gravatar image

I can create a cluster, but on dashboard the status stay "waiting" . The log shows:

2014-10-02 12:57:39.845 14155 DEBUG sahara.utils.api [-] Rest.route.decorator.handler, kwargs={'tenant_id': u'4e4462107395407da507e1add866ace4', 'cluster_id': u'e369c75d-4afe-4b42-8043-15e366b0f898'} handler /usr/lib/python2.6/site-packages/sahara/utils/api.py:64
2014-10-02 12:57:39.917 14155 INFO sahara.cli.sahara_api [-] 192.168.82.11 - - [02/Oct/2014 12:57:39] "GET /v1.1/4e4462107395407da507e1add866ace4/clusters/e369c75d-4afe-4b42-8043-15e366b0f898 HTTP/1.1" 200 3108 0.074521
2014-10-02 12:57:47.891 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-worker-001] _execute_command took 63.3 seconds to complete _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:57:47.891 14155 DEBUG sahara.service.engine [-] Can't login to node cluster-worker-001 (10.0.0.73), reason error: [Errno 110] Connection timed out _wait_until_accessible /usr/lib/python2.6/site-packages/sahara/service/engine.py:95
2014-10-02 12:57:47.898 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-master-001] _execute_command took 63.3 seconds to complete _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:57:47.898 14155 DEBUG sahara.service.engine [-] Can't login to node cluster-master-001 (10.0.0.75), reason error: [Errno 110] Connection timed out _wait_until_accessible /usr/lib/python2.6/site-packages/sahara/service/engine.py:95
2014-10-02 12:57:47.900 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-worker-002] _execute_command took 63.3 seconds to complete _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:57:47.900 14155 DEBUG sahara.service.engine [-] Can't login to node cluster-worker-002 (10.0.0.74), reason error: [Errno 110] Connection timed out _wait_until_accessible /usr/lib/python2.6/site-packages/sahara/service/engine.py:95
2014-10-02 12:57:50.156 14155 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.terminate_unneeded_clusters run_periodic_tasks /usr/lib/python2.6/site-packages/sahara/openstack/common/periodic_task.py:171
2014-10-02 12:57:50.156 14155 DEBUG sahara.service.periodic [-] Terminating unneeded clusters terminate_unneeded_clusters /usr/lib/python2.6/site-packages/sahara/service/periodic.py:70
2014-10-02 12:57:50.177 14155 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call sleeping for 30.76 seconds _inner /usr/lib/python2.6/site-packages/sahara/openstack/common/loopingcall.py:130
2014-10-02 12:57:52.983 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-worker-001] Executing "ls .ssh/authorized_keys" _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:57:52.996 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-master-001] Executing "ls .ssh/authorized_keys" _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:57:53.010 14155 DEBUG sahara.utils.ssh_remote [-] [cluster-worker-002] Executing "ls .ssh/authorized_keys" _log_command /usr/lib/python2.6/site-packages/sahara/utils/ssh_remote.py:407
2014-10-02 12:58:00.034 14155 DEBUG keystoneclient.middleware.auth_token [-] Authenticating user token __call__ /usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py:666
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-15 08:57:21 -0600

alazarev gravatar image

It means that Sahara successfully received IP addresses for VMs but can't ssh to them. Do you use floating ips? Do you have 22 port open in VMs security group? You can ssh to controller node and try to ssh to VMs from console. Once you can do it manually Sahara will be able too.

edit flag offensive delete link more

Comments

Controller node needs a direct access to the instance?

Tarciso Ferreira gravatar imageTarciso Ferreira ( 2014-11-07 16:03:57 -0600 )edit

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: 2014-10-02 10:59:27 -0600

Seen: 405 times

Last updated: Oct 15 '14