schema crash with RT delete
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
High
|
Ranjeet R | |||
R3.0.3.x |
Fix Committed
|
High
|
Ranjeet R | |||
R3.1 |
Fix Committed
|
High
|
Ranjeet R | |||
R3.2 |
Fix Committed
|
High
|
Ranjeet R | |||
Trunk |
Fix Committed
|
High
|
Ranjeet R |
Bug Description
Observed the below errors during sanity run of transit-vn test via heat using ST version-2.
Other issue observed was.
1) ST says the SC got created however the Service-RI's are not found in api-server.
(ST shouldnt have marked it as created)
2) From ST introspect it was observed that the VN had Service-RI in obj_refs however the object is not found in Snh_StObjectReq
(Need to find out why Service-RIs are not created)
The above issues are not reproducible.
Will copy the log files to /cs-shared/
contrail-version:
contrail-
<class 'cfgm_common.
Python 2.7.6: /usr/bin/python
Tue Oct 18 04:37:32 2016
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/
309 DBBaseST.
310 dependency_
311 obj_class.
312 else:
313 # unknown operation
obj_class = <class 'schema_
obj_class.delete = <bound method __metaclass_
obj = <schema_
obj.name = 'target:
/usr/lib/
82 if obj is None:
83 return
84 obj.delete_obj()
85 del cls._dict[key]
86 # end delete
obj = <schema_
obj.delete_obj = <bound method RouteTargetST.
/usr/lib/
1327
1328 def delete_obj(self):
1329 self._vnc_
1330 # end delete_obj
1331 # end RoutTargetST
self = <schema_
self._vnc_lib = <vnc_api.
self._vnc_
fq_name undefined
self.name = 'target:
/usr/lib/
40 retry_on_
41 self._parse_
42 return func(self, *args, **kwargs)
43 return wrapper
44
func = <function _object_delete>
self = <vnc_api.
args = ('route-target',)
kwargs = {'fq_name': ['target:
/usr/lib/
530 uri = obj_cls.
531
532 content = self._request_
533 # end _object_delete
534
content undefined
self = <vnc_api.
self._request_
global rest = <module 'cfgm_common.rest' from '/usr/lib/
rest.OP_DELETE = 4
uri = u'/route-
/usr/lib/
729 return self._request(op, url, data=data, retry_on_
730 retry_after_
731 retry_count=
732 #end _request_server
733
retry_count = 30
/usr/lib/
807 raise OverQuota(content)
808 elif status == 409:
809 raise RefsExistError(
810 elif status == 504:
811 # Request sent to API server, but no response came within 50s
global RefsExistError = <class 'cfgm_common.
content = u"Delete when resource still referred: ['http://
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of RefsExistError object>
__dict__ = {}
__doc__ = None
__format__ = <built-in method __format__ of RefsExistError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of RefsExistError object>
__getslice__ = <method-wrapper '__getslice__' of RefsExistError object>
__hash__ = <method-wrapper '__hash__' of RefsExistError object>
__init__ = <method-wrapper '__init__' of RefsExistError object>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of RefsExistError object>
__reduce_ex__ = <built-in method __reduce_ex__ of RefsExistError object>
__repr__ = <method-wrapper '__repr__' of RefsExistError object>
__setattr__ = <method-wrapper '__setattr__' of RefsExistError object>
__setstate__ = <built-in method __setstate__ of RefsExistError object>
__sizeof__ = <built-in method __sizeof__ of RefsExistError object>
__str__ = <method-wrapper '__str__' of RefsExistError object>
__subclassh
__unicode__ = <built-in method __unicode__ of RefsExistError object>
__weakref__ = None
args = (u"Delete when resource still referred: ['http://
message = u"Delete when resource still referred: ['http://
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/
obj_
File "/usr/lib/
obj.
File "/usr/lib/
self.
File "/usr/lib/
return func(self, *args, **kwargs)
File "/usr/lib/
content = self._request_
File "/usr/lib/
retry_
File "/usr/lib/
raise RefsExistError(
RefsExistError: Delete when resource still referred: ['http://
Review in progress for https:/ /review. opencontrail. org/25262
Submitter: Ranjeet R (<email address hidden>)