schema crashes with NoIdError for a SI during gateway-related tests
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Committed
|
High
|
Sachin Bansal | |||
Trunk |
Fix Committed
|
High
|
Sachin Bansal |
Bug Description
R1.10 31
Was seen during tempest run :
Schema crashed multiple times with NoIDError on a snat si ID
http://
Logs from all 3 config nodes will be in http://
upstart/
=======
2014-09-04 12:02:20,239 INFO exited: contrail-schema (exit status 1; not expected)^M
2014-09-04 12:02:20,303 INFO spawned: 'contrail-schema' with pid 3798^M
2014-09-04 12:02:21,305 INFO success: contrail-schema entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)^M
2014-09-04 12:02:23,422 INFO exited: contrail-schema (exit status 1; not expected)^M
2014-09-04 12:02:23,543 INFO spawned: 'contrail-schema' with pid 3807^M
2014-09-04 12:02:24,649 INFO success: contrail-schema entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)^M
2014-09-04 12:02:39,356 INFO exited: contrail-schema (exit status 1; not expected)^M
2014-09-04 12:02:39,389 INFO spawned: 'contrail-schema' with pid 3825^M
2014-09-04 12:02:40,394 INFO success: contrail-schema entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)^M
2014-09-04 12:03:42,744 INFO exited: contrail-schema (exit status 1; not expected)^M
2014-09-04 12:03:42,798 INFO spawned: 'contrail-schema' with pid 3897^M
2014-09-04 12:03:43,799 INFO success: contrail-schema entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)^M
schema.err :
============
<class 'cfgm_common.
Python 2.7.3: /usr/bin/python
Thu Sep 4 12:03:42 2014
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/
3513 result = arc_mapc.
3514 try:
3515 transformer.
3516 except Exception as e:
3517 try:
transformer = <schema_
transformer.
result = '<?xml version="1.0" encoding="UTF-8" standalone=
/usr/lib/
3155 result_
3156 meta_name, idents, meta, funcname)
3157 func(idents, meta)
3158 # end for meta
3159 # end for result_type
func = <bound method SchemaTransform
idents = {'service-
meta = <Element {http://
/usr/lib/
3000 self.delete_
3001 return
3002 si = _vnc_lib.
3003 si_props = si.get_
3004 left_vn_str, right_vn_str = get_si_vns(si, si_props)
si undefined
global _vnc_lib = <vnc_api.
_vnc_lib.
fq_name_str undefined
si_name = 'default-
/usr/lib/
2291
2292 """
2293 (args_ok, result) = self._read_
2294 if not args_ok:
2295 return result
args_ok undefined
result undefined
self = <vnc_api.
self._read_
fq_name = None
fq_name_str = 'default-
id = None
ifmap_id = None
/usr/lib/
314 return (True, self.fq_
315 if fq_name_str:
316 return (True, self.fq_
317 if ifmap_id:
318 return (True, self.ifmap_
builtinTrue = True
self = <vnc_api.
self.fq_name_to_id = <bound method VncApi.
obj_type = 'service-instance'
fq_name_str = 'default-
fq_name_str.split = <built-in method split of str object>
/usr/lib/
397 uri = self._action_
398 try:
399 content = self._request_
400 except HttpError as he:
401 if he.status_code == 404:
content undefined
self = <vnc_api.
self._request_
global rest = <module 'cfgm_common.rest' from '/usr/lib/
rest.OP_POST = 1
uri = u'/fqname-to-id'
data undefined
json_body = '{"fq_name": ["default-domain", "RoutersTest-
/usr/lib/
356 elif status == 404:
357 raise NoIdError('Error: oper %s url %s body %s response %s'
358 % (op, url, data, content))
359 elif status == 403:
360 raise PermissionDenie
op = 1
url = u'/fqname-to-id'
data = '{"fq_name": ["default-domain", "RoutersTest-
content = u"Name [u'default-
<class 'cfgm_common.
u'RoutersTest-
u'si_f330a427-
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': u'Error: oper 1 url /fqname-to-id body {"fq_name.
__doc__ = None
__format__ = <built-in method __format__ of NoIdError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of NoIdError object>
__getslice__ = <method-wrapper '__getslice__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError()>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of NoIdError object>
__reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object>
__repr__ = <method-wrapper '__repr__' of NoIdError object>
__setattr__ = <method-wrapper '__setattr__' of NoIdError object>
__setstate__ = <built-in method __setstate__ of NoIdError object>
__sizeof__ = <built-in method __sizeof__ of NoIdError object>
__str__ = <bound method NoIdError.__str__ of NoIdError()>
__subclassh
__unicode__ = <built-in method __unicode__ of NoIdError object>
__weakref__ = None
_unknown_id = u'Error: oper 1 url /fqname-to-id body {"fq_name.
args = ()
message = ''
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/lib/
transformer
File "/usr/lib/
func(idents, meta)
File "/usr/lib/
si = _vnc_lib.
File "/usr/lib/
(args_ok, result) = self._read_
File "/usr/lib/
return (True, self.fq_
File "/usr/lib/
content = self._request_
File "/usr/lib/
% (op, url, data, content))
NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"fq_name": ["default-domain", "RoutersTest-
u'RoutersTest-
u'si_f330a427-
tags: | added: snat |
Fixed with commit id 32ccd5d5b463ef4 842f0ac170815ee 07f6a666b0 in mainline.