← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1351377] [NEW] neutron failed to notify nova during nova boot

 

*** This bug is a security vulnerability ***

Private security bug reported:

During nova boot, I am facing the following error in neutron server log
.Although nova is able to spawn an instance sucessfully, following error
is seen the neutron server logs.

thon2.7/site-packages/requests/packages/urllib3/connectionpool.py:350
2014-08-01 09:43:22.784 11778 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'693d4f99-0501-4867-bc6f-ae389727a321', 'name': 'network-vif-plugged', 'server_uuid': u'37624d8a-061a-47dd-b276-763835b86d73'}]
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova Traceback (most recent call last):
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/notifiers/nova.py", line 224, in send_events
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     batched_events)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return_raw=True)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/base.py", line 152, in _create
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 286, in post
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 269, in _cs_request
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     self.authenticate()
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 382, in authenticate
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     auth_url = self._v2_auth(auth_url)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 469, in _v2_auth
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return self._authenticate(url, body)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 482, in _authenticate
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     **kwargs)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 242, in _time_request
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 236, in request
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova BadRequest: object of type 'NoneType' has no len() (HTTP 400)
2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova
2014-08-01 09:43:24.254 11767 INFO neutron.wsgi [req-aa2e880c-98b6-42b7-9775-124bdc8c89ab None] (11767) accepted ('192.0.2.26', 53438)

** Affects: neutron
     Importance: Undecided
         Status: New

** Information type changed from Public to Public Security

** Information type changed from Public Security to Private Security

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1351377

Title:
  neutron failed to notify nova during nova boot

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  During nova boot, I am facing the following error in neutron server
  log .Although nova is able to spawn an instance sucessfully, following
  error is seen the neutron server logs.

  thon2.7/site-packages/requests/packages/urllib3/connectionpool.py:350
  2014-08-01 09:43:22.784 11778 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'693d4f99-0501-4867-bc6f-ae389727a321', 'name': 'network-vif-plugged', 'server_uuid': u'37624d8a-061a-47dd-b276-763835b86d73'}]
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova Traceback (most recent call last):
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/notifiers/nova.py", line 224, in send_events
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     batched_events)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return_raw=True)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/base.py", line 152, in _create
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 286, in post
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 269, in _cs_request
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     self.authenticate()
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 382, in authenticate
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     auth_url = self._v2_auth(auth_url)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 469, in _v2_auth
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     return self._authenticate(url, body)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 482, in _authenticate
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     **kwargs)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 242, in _time_request
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova   File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/novaclient/client.py", line 236, in request
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova BadRequest: object of type 'NoneType' has no len() (HTTP 400)
  2014-08-01 09:43:22.784 11778 TRACE neutron.notifiers.nova
  2014-08-01 09:43:24.254 11767 INFO neutron.wsgi [req-aa2e880c-98b6-42b7-9775-124bdc8c89ab None] (11767) accepted ('192.0.2.26', 53438)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1351377/+subscriptions


Follow ups

References