[Openstack] [OpenStack] Sahara fails to launch hadoop cluster

Sergey Reshetnyak sreshetniak at mirantis.com
Thu Oct 8 08:42:27 UTC 2015


Hi,

You use neutron or nova-network for networking? If you use nova-network,
check that "use_neutron" parameter set to "false" in sahara.conf.

2015-10-08 11:12 GMT+03:00 varun bhatnagar <varun292006 at gmail.com>:

> Hi,
>
> I am using single node OpenStack Kilo setup.
> I am trying to launch a Hadoop cluster and the cluster is failing after
> sometime with an error message:
>
> *NeutronClientException: 404 Not Found*
>
> *The resource could not be found.*
>
>
> Also, when I try to list down the security group using neutron command I
> get the same error message:
> *[root at controller ~(keystone_admin)]# neutron security-group-list*
> *404 Not Found*
>
> *The resource could not be found.*
>
> I am using nova security group:
> *[root at controller ~(keystone_admin)]# nova secgroup-list*
> *+----+---------+-------------+*
> *| Id | Name    | Description |*
> *+----+---------+-------------+*
> *| 1  | default | default     |*
> *+----+---------+-------------+*
>
> Can anyone please help and give any suggestion so that I can move forward
> and launch my cluster?
>
>
> I am pasting the stack below:
>
> *2015-10-07 15:55:27.198 1566 DEBUG neutronclient.v2_0.client [-] Error
> message: 404 Not Found*
>
> *The resource could not be found.*
>
> *    _handle_fault_response
> /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py:176*
> *2015-10-07 15:55:28.469 1566 INFO sahara.utils.general [-] Cluster status
> has been changed: id=1adbb991-d903-4af8-9fd2-5ed392a253e3, New status=Error*
> *2015-10-07 15:55:28.470 1566 ERROR sahara.utils.api [-] Request aborted
> with status code 500 and message 'Internal Server Error'*
> *2015-10-07 15:55:28.645 1566 ERROR sahara.utils.api [-] Traceback (most
> recent call last):*
> *  File "/usr/lib/python2.7/site-packages/sahara/utils/api.py", line 90,
> in handler*
> *    return func(**kwargs)*
> *  File "/usr/lib/python2.7/site-packages/sahara/api/acl.py", line 44, in
> handler*
> *    return func(*args, **kwargs)*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/validation.py",
> line 47, in handler*
> *    return func(*args, **kwargs)*
> *  File "/usr/lib/python2.7/site-packages/sahara/api/v10.py", line 50, in
> clusters_create*
> *    return u.render(api.create_cluster(data).to_wrapped_dict())*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/api.py", line
> 112, in create_cluster*
> *    six.text_type(e))*
> *  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line
> 85, in __exit__*
> *    six.reraise(self.type_, self.value, self.tb)*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/api.py", line
> 107, in create_cluster*
> *    quotas.check_cluster(cluster)*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/quotas.py", line
> 52, in check_cluster*
> *    _check_limits(req_limits)*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/quotas.py", line
> 73, in _check_limits*
> *    avail_limits = _get_avail_limits()*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/quotas.py", line
> 126, in _get_avail_limits*
> *    limits.update(_get_neutron_limits())*
> *  File "/usr/lib/python2.7/site-packages/sahara/service/quotas.py", line
> 173, in _get_neutron_limits*
> *    tenant_id=tenant_id).get('security_groups', [])*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 102, in with_params*
> *    ret = self.function(instance, *args, **kwargs)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 728, in list_security_groups*
> *    retrieve_all, **_params)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 307, in list*
> *    for r in self._pagination(collection, path, **params):*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 320, in _pagination*
> *    res = self.get(path, params=params)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 293, in get*
> *    headers=headers, params=params)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 270, in retry_request*
> *    headers=headers, params=params)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 211, in do_request*
> *    self._handle_fault_response(status_code, replybody)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 185, in _handle_fault_response*
> *    exception_handler_v20(status_code, des_error_body)*
> *  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py",
> line 83, in exception_handler_v20*
> *    message=message)*
>
> *NeutronClientException: 404 Not Found*
>
> *The resource could not be found.*
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151008/42aa9afe/attachment.html>


More information about the Openstack mailing list