API Server keeps throwing NoIDError on a deleted VN , causing neutron reqs from nova to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Hampapur Ajay | ||
R2.0 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
2.0-2405 Ubuntu Single node Havana
Sanity was stuck for a long long time during this run : http://
nova logs used to have neutron exceptions
'nova list --all-tenants' cmd used to fail as well.
Log files and cassandra logs will be in http://
contrail-api log :
===============
Traceback (most recent call last):
File "/usr/lib/
ports_info = cfgdb.port_
File "/usr/lib/
port_iip_objs)
File "/usr/lib/
port_info = self._port_
File "/usr/lib/
net_obj = self._virtual_
File "/usr/lib/
fields=fields)
File "/usr/lib/
content = self._request_
File "/usr/lib/
% (op, url, data, content))
NoIdError: Unknown id: Error: oper 2 url /virtual-
nova-api.log :
============
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack Traceback (most recent call last):
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack return req.get_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack application, catch_exc_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack app_iter = application(
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack return resp(environ, start_response)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack return resp(environ, start_response)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack return resp(environ, start_response)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack content_type, body, accept)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack request, action_args)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack **action_args)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack self._extend_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack .get_instances_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack ports = neutron.
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack ret = self.function(
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack **_params)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack for r in self._paginatio
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack res = self.get(path, params=params)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack headers=headers, params=params)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack headers=headers, params=params)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack self._handle_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack exception_
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack File "/usr/lib/
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack message=msg)
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack NeutronClientEx
2014-10-23 12:58:44.289 4985 TRACE nova.api.openstack
2014-10-23 12:58:44.292 4985 INFO nova.api.openstack [req-e3a063fc-
2014-10-23 12:58:44.293 4985 INFO nova.osapi_
Changed in juniperopenstack: | |
status: | New → Fix Committed |
Reviewed: https:/ /review. opencontrail. org/4553 github. org/Juniper/ contrail- controller/ commit/ 66a44bdb7304f98 9420129da4f909b 978239bb47
Committed: http://
Submitter: Zuul
Branch: master
commit 66a44bdb7304f98 9420129da4f909b 978239bb47
Author: Hampapur Ajay <email address hidden>
Date: Wed Nov 12 23:15:50 2014 -0800
Ignore deleted network during port-list as it may have disappeared.
In case of parallel tests, it is possible that during port list,
we collect a port which along with its network is deleted by the
time it is transformed to neutron representation. Ignore NoIdError
in such cases and proceed to remaining ports in the list.
Change-Id: I204e2bf9c21622 3ae2a918e201219 50396554283
Fixes-Bug: #1384582