Perhaps it's not metadata agent, because reconfiguration does not help: It still tries to connect to localhost:
2014-07-30 11:53:28.460 14327 ERROR neutron.notifiers.nova [req-9e511e04-6a3a-45f1-afe0-ee1b3d365fca None] Failed to notify nova on events: [{'status': 'completed', 'tag': u'358b4880-be54-44a2-a3e0-227b6ea8fadd', 'name': 'network-vif-unplugged', 'server_uuid': u'f861a43f-1df1-435b-a71f-05b65d627c4d'}] 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova Traceback (most recent call last): 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/neutron/notifiers/nova.py", line 221, in send_events 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova batched_events) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova return_raw=True) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 152, in _create 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova _resp, body = self.api.client.post(url, body=body) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 286, in post 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova return self._cs_request(url, 'POST', **kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 269, in _cs_request 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova self.authenticate() 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 382, in authenticate 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova auth_url = self._v2_auth(auth_url) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 469, in _v2_auth 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova return self._authenticate(url, body) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 482, in _authenticate 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova **kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 242, in _time_request 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova resp, body = self.request(url, method, **kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in request 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova **kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 383, in request 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova resp = self.send(prep, **send_kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 486, in send 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova r = adapter.send(request, **kwargs) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 378, in send 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova raise ConnectionError(e) 2014-07-30 11:53:28.460 14327 TRACE neutron.notifiers.nova ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
Perhaps it's not metadata agent, because reconfiguration does not help:
It still tries to connect to localhost:
2014-07-30 11:53:28.460 14327 ERROR neutron. notifiers. nova [req-9e511e04- 6a3a-45f1- afe0-ee1b3d365f ca None] Failed to notify nova on events: [{'status': 'completed', 'tag': u'358b4880- be54-44a2- a3e0-227b6ea8fa dd', 'name': 'network- vif-unplugged' , 'server_uuid': u'f861a43f- 1df1-435b- a71f-05b65d627c 4d'}] notifiers. nova Traceback (most recent call last): notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ neutron/ notifiers/ nova.py" , line 221, in send_events notifiers. nova batched_events) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ v1_1/contrib/ server_ external_ events. py", line 39, in create notifiers. nova return_raw=True) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ base.py" , line 152, in _create notifiers. nova _resp, body = self.api. client. post(url, body=body) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 286, in post notifiers. nova return self._cs_ request( url, 'POST', **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 269, in _cs_request notifiers. nova self.authenticate() notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 382, in authenticate notifiers. nova auth_url = self._v2_ auth(auth_ url) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 469, in _v2_auth notifiers. nova return self._authentic ate(url, body) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 482, in _authenticate notifiers. nova **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 242, in _time_request notifiers. nova resp, body = self.request(url, method, **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ novaclient/ client. py", line 213, in request notifiers. nova **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ requests/ sessions. py", line 383, in request notifiers. nova resp = self.send(prep, **send_kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ requests/ sessions. py", line 486, in send notifiers. nova r = adapter. send(request, **kwargs) notifiers. nova File "/usr/lib/ python2. 7/dist- packages/ requests/ adapters. py", line 378, in send notifiers. nova raise ConnectionError(e) notifiers. nova ConnectionError: HTTPConnectionP ool(host= 'localhost' , port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by <class 'socket.error'>: [Errno 111] ECONNREFUSED)
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.
2014-07-30 11:53:28.460 14327 TRACE neutron.