Sahara Cluster launching fails after a long wait

asked 2015-06-25 05:40:52 -0500

David_Jegan gravatar image

updated 2015-06-28 23:48:27 -0500

Hey all ! I have used Centos and Icehouse for implementing two node architecture. The plugin being used is vanilla hadoop. There is block storage, swift as well as sahara.

The cluster when launched is in waiting state for a long time and then it ends in result state.

sahara log file

ERROR root [-] Original exception being dropped: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/sahara/service/direct_engine.py", line 60, in create_cluster\n self._await_networks(cluster, instances)\n', ' File "/usr/lib/python2.6/site-packages/sahara/service/engine.py", line 63, in _await_networks\n if networks.init_instances_ips(instance):\n', ' File "/usr/lib/python2.6/site-packages/sahara/service/networks.py", line 39, in init_instances_ips\n server = nova.get_instance_info(instance)\n', ' File "/usr/lib/python2.6/site-packages/sahara/utils/openstack/nova.py", line 65, in get_instance_info\n return client().servers.get(instance.instance_id)\n', ' File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 543, in get\n return self._get("/servers/%s" % base.getid(server), "server")\n', ' File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 147, in _get\n _resp, body = self.api.client.get(url)\n', ' File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 309, in get\n return self._cs_request(url, \'GET\', *kwargs)\n', ' File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 295, in _cs_request\n self.authenticate()\n', ' File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 427, in authenticate\n auth_url = self._v1_auth(auth_url)\n', ' File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 467, in _v1_auth\n self.management_url = resp.headers[mgmt_header].rstrip(\'/\')\n', "AttributeError: 'NoneType' object has no attribute 'rstrip'\n"] 2015-06-23 19:54:58.072 30463 ERROR sahara.context [-] Thread 'cluster-creating-6b79e957-b04e-4955-9161-2beb0f7e8b54' fails with exception: ''NoneType' object has no attribute 'rstrip''

This is the persistent error I get.

sahara.conf

[DEFAULT] use_neutron=false os_auth_protocol=http os_auth_host=172.20.95.135 os_auth_port=35357 os_admin_username=admin os_admin_password=** os_admin_tenant_name=admin

[conductor]

[database] connection=mysql://root:hadoop@172.20.95.135/sahara?user=sahara

[ssl]

And this is a snippet of

keystone log

2015-06-25 15:36:42.342 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:36:43.274 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:42:57.910 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:42:57.994 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:42:58.645 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:43:41.846 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization 2015-06-25 15:43:43.300 7706 WARNING keystone.common.controller [-] RBAC: Bypassing authorization

Thanks in advance !!

edit retag flag offensive close merge delete