[2.20-Build 64] Contrail API sometimes return 'NoIdError: Unknown id: routing_instance'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Incomplete
|
Medium
|
Prakash Bailkeri | |||
R3.0 |
New
|
Medium
|
Prakash Bailkeri | |||
R3.1 |
New
|
Medium
|
Prakash Bailkeri | |||
Trunk |
Incomplete
|
Medium
|
Prakash Bailkeri |
Bug Description
While creating Virtual-network and Virtual-
Sent JSON messages;
{"virtual-network": {"virtual_
'{"virtual-
###API log
07/21/2015 02:55:35 PM [contrail-
Python 2.7.6: /usr/bin/python
Tue Jul 21 14:55:35 2015
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/
534
535 trace = self._generate_
536 response = handler(*args, **kwargs)
537 self._generate_
538
response undefined
handler = <bound method VncApiServer.
args = ()
kwargs = {}
/usr/lib/
20762 if refs:
20763 for ref in refs:
20764 ref_uuid = db_conn.
20765 (ok, status) = self._permissio
20766 if not ok:
ref_uuid = '00000000-
db_conn = <vnc_cfg_
db_conn.
obj_type = 'routing_instance'
ref = {'attr': {'direction': 'both', 'dst_mac': None, 'mpls_label': None, 'protocol': None, 'service_
/usr/lib/
1493
1494 def fq_name_
1495 obj_uuid = self._cassandra
1496 return obj_uuid
1497 # end fq_name_to_uuid
obj_uuid undefined
self = <vnc_cfg_
self._cassandra_db = <vnc_cfg_
self._cassandra
obj_type = 'routing_instance'
fq_name = ['default-domain', 'demo', 'testvn01', 'testvn01']
/usr/lib/
248
249 if len(col_infos) == 0:
250 raise NoIdError('%s %s' % (obj_type, fq_name))
251
252 for (col_name, col_val) in col_infos:
global NoIdError = <class 'cfgm_common.
obj_type = 'routing_instance'
fq_name = ['default-domain', 'demo', 'testvn01', 'testvn01']
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': "routing_instance ['default-domain', 'demo', 'testvn01', 'testvn01']"}
__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 = "routing_instance ['default-domain', 'demo', 'testvn01', 'testvn01']"
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/
response = handler(*args, **kwargs)
File "/usr/lib/
ref_uuid = db_conn.
File "/usr/lib/
obj_uuid = self._cassandra
File "/usr/lib/
raise NoIdError('%s %s' % (obj_type, fq_name))
NoIdError: Unknown id: routing_instance ['default-domain', 'demo', 'testvn01', 'testvn01']
information type: | Proprietary → Public |
tags: | added: customer |
tags: | added: bms |
tags: | added: config |
Is this HA setup?
>> Yes HA seup
How many configuration nodes?
>> Three
To which node did you send 1000 requests?
>> To Virtual IP address, so three API servers were used.
Did you repeat sending the same request 1000 times or send 1000 different requests?
>> same request 1000 times
Did you send requests back-to-back or wail for response before sending the next request?
>> No delay. back-to-back.