← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535218] [NEW] NotFound maybe returned by keystone

 

Public bug reported:

How to reproduce:
   1. Remove nova_admin_tenant_id from /etc/neutron/neutron.conf
   2. Boot an instance

Expected log:
    Keystone returned NotFound for event:...

Actual log:
   Nova returned NotFound for event:...

Related log (we have not fixed bug 1309187 yet) :

 2016-01-15 13:38:17.449 3509717 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'55524e69-9bf8-408e-bb9c-4239084837e9', 'name': 'network-vif-unplugged', 'server_uuid': u'a7466a5f-ca73-4ded-b0c3-77374f676b26'}]
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova Traceback (most recent call last):
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/neutron/notifiers/nova.py", line 223, in send_events
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     batched_events)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return_raw=True)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 152, in _create
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 312, in post
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 275, in _cs_request
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     self.authenticate()
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 408, in authenticate
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     auth_url = self._v2_auth(auth_url)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 495, in _v2_auth
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._authenticate(url, body)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 508, in _authenticate
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     **kwargs)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 268, in _time_request
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 262, in request
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova NotFound: Not found (HTTP 404)
2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  How to reproduce:
-    1. Remove nova_admin_tenant_id from /etc/neutron/neutron.conf
-    2. Boot an instance
+    1. Remove nova_admin_tenant_id from /etc/neutron/neutron.conf
+    2. Boot an instance
  
- Expected:
-     Keystone returned NotFound for event:...
+ Expected log:
+     Keystone returned NotFound for event:...
  
- Actual:
-    Nova returned NotFound for event:...
+ Actual log:
+    Nova returned NotFound for event:...
  
  Related log (we have not fixed bug 1309187 yet) :
  
- 	2016-01-15 13:38:17.449 3509717 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'55524e69-9bf8-408e-bb9c-4239084837e9', 'name': 'network-vif-unplugged', 'server_uuid': u'a7466a5f-ca73-4ded-b0c3-77374f676b26'}]
+  2016-01-15 13:38:17.449 3509717 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'55524e69-9bf8-408e-bb9c-4239084837e9', 'name': 'network-vif-unplugged', 'server_uuid': u'a7466a5f-ca73-4ded-b0c3-77374f676b26'}]
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova Traceback (most recent call last):
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/neutron/notifiers/nova.py", line 223, in send_events
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     batched_events)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return_raw=True)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 152, in _create
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 312, in post
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 275, in _cs_request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     self.authenticate()
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 408, in authenticate
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     auth_url = self._v2_auth(auth_url)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 495, in _v2_auth
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._authenticate(url, body)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 508, in _authenticate
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 268, in _time_request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 262, in request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova NotFound: Not found (HTTP 404)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova

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

Title:
  NotFound maybe returned by keystone

Status in neutron:
  New

Bug description:
  How to reproduce:
     1. Remove nova_admin_tenant_id from /etc/neutron/neutron.conf
     2. Boot an instance

  Expected log:
      Keystone returned NotFound for event:...

  Actual log:
     Nova returned NotFound for event:...

  Related log (we have not fixed bug 1309187 yet) :

   2016-01-15 13:38:17.449 3509717 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'55524e69-9bf8-408e-bb9c-4239084837e9', 'name': 'network-vif-unplugged', 'server_uuid': u'a7466a5f-ca73-4ded-b0c3-77374f676b26'}]
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova Traceback (most recent call last):
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/neutron/notifiers/nova.py", line 223, in send_events
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     batched_events)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return_raw=True)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 152, in _create
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 312, in post
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 275, in _cs_request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     self.authenticate()
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 408, in authenticate
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     auth_url = self._v2_auth(auth_url)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 495, in _v2_auth
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     return self._authenticate(url, body)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 508, in _authenticate
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 268, in _time_request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova   File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 262, in request
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova NotFound: Not found (HTTP 404)
  2016-01-15 13:38:17.449 3509717 TRACE neutron.notifiers.nova

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


Follow ups