Ask Your Question
0

Neutron won't use internal nova-api endpoint

asked 2015-07-23 07:06:26 -0500

zsolt-krenak gravatar image

Hi All!

I've got a Kilo release deployment on Ubuntu 14.04, and VM creations fails. I've got seperate networks for internal and public endpoints. The problem seems to be, that neutron after authenticating on the admin endpoint (which is on the internal network btw), tries to connect to Nova API on public endpoint. I would think that this behaviour could be changed by a simple config parameter, but I can't find what should I change. In the neutron-server logs I see the following:

2015-07-23 11:31:06.021 24522 DEBUG keystoneclient.auth.identity.v3 [-] Making authentication request to http://192.168.56.10:35357/v3/auth/tokens get_auth_ref /usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3.py:125
2015-07-23 11:31:06.385 24522 DEBUG keystoneclient.session [-] REQ: curl -g -i -X POST https://192.168.55.10:8774/v2/d239fb491e944da39e430174dc5fd33e/os-server-external-events -H "User-Agent: python-novaclient" -H "Content-Type: applicat$
2015-07-23 11:31:06.443 24522 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'2a6ce600-1c57-4f91-a17e-1623adf9e1ee', 'name': 'network-vif-plugged', 'server_uuid': u'f77b2756-99ed-4259-b$
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova Traceback (most recent call last):
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/neutron/notifiers/nova.py", line 243, in send_events
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     batched_events)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/novaclient/v2/contrib/server_external_events.py", line 39, in create
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     return_raw=True)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 152, in _create
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in post
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     return self.request(url, 'POST', **kwargs)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 89, in request
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     **kwargs)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     return self.session.request(url, method, **kwargs)
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova   File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
2015-07-23 11:31:06.443 24522 TRACE neutron.notifiers.nova     return func(*args, **kwargs)
2015-07-23 11 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-03 03:58:06 -0500

zsolt-krenak gravatar image

There's a bug about this, fixed in Mitaka:

https://bugs.launchpad.net/neutron/+b...

edit flag offensive delete link more

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: 2015-07-23 07:06:26 -0500

Seen: 273 times

Last updated: May 03 '16