Revision history [back]

click to hide/show revision 1
initial version

Sahara: Can't login to node

Hi everyone,

I have created a cluster hadoop. I can ssh and run job in instances. But cluster alway just stays in "waiting" state? When i check log, see:

2014-07-24 14:20:54.906 14857 DEBUG sahara.service.engine [-] Can't login to node test-sahara-master-001 (192.168.50.168), reason AuthenticationException: Authentication failed. _wait_until_accessible /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/engine.py:95
2014-07-24 14:20:54.946 14857 DEBUG sahara.utils.ssh_remote [-] [test-sahara-worker-002] _execute_command took 1.2 seconds to complete _log_command /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/ssh_remote.py:407
2014-07-24 14:20:54.947 14857 DEBUG sahara.service.engine [-] Can't login to node test-sahara-worker-002 (192.168.50.170), reason AuthenticationException: Authentication failed. _wait_until_accessible /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/engine.py:95

This is my sahara.conf:

[DEFAULT]
os_auth_host=127.0.0.1
os_auth_port=35357
os_admin_username=admin
os_admin_password=$pass
os_admin_tenant_name=admin

use_floating_ips=True
use_neutron=True
use_namespaces=False
log_dir=/var/log/sahara
log_file=sahara.log
[database]
connection=sqlite:////tmp/sahara.db
[keystone_authtoken]
auth_uri=http://127.0.0.1:5000/v2.0/
identity_uri=http://127.0.0.1:35357/

And add /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py:

SAHARA_USE_NEUTRON = True
AUTO_ASSIGNMENT_ENABLED = False

I use plugin: http://docs.openstack.org/developer/sahara/userdoc/vanilla_plugin.html

Thanks in advance for any help!

Sahara: Can't login to node

Hi everyone,

I have created a cluster hadoop. I can ssh and run job the simpliest MapReduce example in instances. But cluster alway just stays in "waiting" state? When i check log, see:

2014-07-24 14:20:54.906 14857 DEBUG sahara.service.engine [-] Can't login to node test-sahara-master-001 (192.168.50.168), reason AuthenticationException: Authentication failed. _wait_until_accessible /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/engine.py:95
2014-07-24 14:20:54.946 14857 DEBUG sahara.utils.ssh_remote [-] [test-sahara-worker-002] _execute_command took 1.2 seconds to complete _log_command /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/utils/ssh_remote.py:407
2014-07-24 14:20:54.947 14857 DEBUG sahara.service.engine [-] Can't login to node test-sahara-worker-002 (192.168.50.170), reason AuthenticationException: Authentication failed. _wait_until_accessible /home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/engine.py:95

This is my sahara.conf:

[DEFAULT]
os_auth_host=127.0.0.1
os_auth_port=35357
os_admin_username=admin
os_admin_password=$pass
os_admin_tenant_name=admin

use_floating_ips=True
use_neutron=True
use_namespaces=False
log_dir=/var/log/sahara
log_file=sahara.log
[database]
connection=sqlite:////tmp/sahara.db
[keystone_authtoken]
auth_uri=http://127.0.0.1:5000/v2.0/
identity_uri=http://127.0.0.1:35357/

And add /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py:

SAHARA_USE_NEUTRON = True
AUTO_ASSIGNMENT_ENABLED = False

I use plugin: http://docs.openstack.org/developer/sahara/userdoc/vanilla_plugin.html

Thanks in advance for any help!What is the problem here? Thank you very much!