[openstack-dev] [ocatvia]Newton Octavia lbaas creation error
Michael Johnson
johnsomor at gmail.com
Mon Jan 23 16:18:36 UTC 2017
Santhosh,
>From the traceback below it looks like the neutron process is unable to access keystone.
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource DriverError: Driver error: Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f9f36b91790>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
So, I would check the neutron.conf settings for keystone like the user/password and that the neutron process can reach keystone on http://127.0.0.1:5000 Maybe there is a bad security group or keystone isn’t running?
Michael
From: Santhosh Fernandes [mailto:santhosh.fernandes at gmail.com]
Sent: Sunday, January 22, 2017 10:48 AM
To: openstack-dev at lists.openstack.org; Michael Johnson <johnsomor at gmail.com>
Subject: [openstack-dev][ocatvia]Newton Octavia lbaas creation error
Hi all,
I am getting driver connection error while creation the LB from octavia.
Stack trace -
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource [req-c6f19e4c-dfbd-4b1c-8198-925d05f9fcdf cf13e167c1884e7a8d63293a454ca774 48ab507e206741c4ba304efaf5209963 - - -] create failed: No details.
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource result = method(request=request, **args)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/api/v2/base.py", line 430, in create
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource return self._create(request, body, **kwargs)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource setattr(e, '_RETRY_EXCEEDED', True)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource self.force_reraise()
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource self.force_reraise()
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource traceback.format_exc())
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource self.force_reraise()
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource return f(*dup_args, **dup_kwargs)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/api/v2/base.py", line 543, in _create
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource obj = do_create(body)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/api/v2/base.py", line 525, in do_create
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource request.context, reservation.reservation_id)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource self.force_reraise()
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron/api/v2/base.py", line 518, in do_create
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource return obj_creator(request.context, **kwargs)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 370, in create_loadbalancer
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource self._call_driver_operation(context, create_method, lb_db)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource File "/openstack/venvs/neutron-14.0.3/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 173, in _call_driver_operation
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource raise loadbalancerv2.DriverError(msg=e)
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource DriverError: Driver error: Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f9f36b91790>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2017-01-22 12:21:51.569 14448 ERROR neutron.api.v2.resource
Any clue to fix this ?
Thank you,
Regards,
Santhosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170123/54b342c4/attachment.html>
More information about the OpenStack-dev
mailing list