SNAT: APi server traceback on deleting a LR
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.0 |
Won't Fix
|
High
|
Rudra Rugge | |||
R2.1 |
Won't Fix
|
High
|
Rudra Rugge | |||
R2.20 |
Won't Fix
|
Medium
|
Rudra Rugge | |||
R3.0 |
Invalid
|
High
|
Rudra Rugge | |||
R3.1 |
Invalid
|
High
|
Rudra Rugge | |||
Trunk |
Invalid
|
High
|
Rudra Rugge |
Bug Description
On Deleting a LR which has external and VN attached, Api server gives the below traceback
Version : 2.01 Build 46
05/24/2015 07:57:43 PM [cs-scale-
Python 2.7.3: /usr/bin/python
Sun May 24 19:57:43 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/
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'logical-router', u'uuid': u'5a912ce9-
/usr/lib/
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = result
builtinException = <type 'exceptions.
result = 'Unknown id: 5a912ce9-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('Unknown id: 5a912ce9-
message = 'Unknown id: 5a912ce9-
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/
self.
File "/usr/lib/
raise Exception(result)
Exception: Unknown id: 5a912ce9-
05/24/2015 07:57:44 PM [cs-scale-
Python 2.7.3: /usr/bin/python
Sun May 24 19:57:44 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/
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'c8912f0c-
/usr/lib/
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = result
builtinException = <type 'exceptions.
result = 'Unknown id: c8912f0c-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('Unknown id: c8912f0c-
message = 'Unknown id: c8912f0c-
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/
self.
File "/usr/lib/
raise Exception(result)
Exception: Unknown id: c8912f0c-
05/24/2015 07:57:44 PM [cs-scale-
Python 2.7.3: /usr/bin/python
Sun May 24 19:57:44 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/
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'c8912f0c-
/usr/lib/
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = result
builtinException = <type 'exceptions.
result = 'Unknown id: c8912f0c-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('Unknown id: c8912f0c-
message = 'Unknown id: c8912f0c-
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/
self.
File "/usr/lib/
raise Exception(result)
Exception: Unknown id: c8912f0c-
05/24/2015 07:57:44 PM [cs-scale-
Python 2.7.3: /usr/bin/python
Sun May 24 19:57:44 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/
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'dffcae17-
/usr/lib/
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = result
builtinException = <type 'exceptions.
result = 'Unknown id: dffcae17-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('Unknown id: dffcae17-
message = 'Unknown id: dffcae17-
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/
self.
File "/usr/lib/
raise Exception(result)
Exception: Unknown id: dffcae17-
05/24/2015 07:57:44 PM [cs-scale-
Python 2.7.3: /usr/bin/python
Sun May 24 19:57:44 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/
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'dffcae17-
/usr/lib/
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = result
builtinException = <type 'exceptions.
result = 'Unknown id: dffcae17-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Common base class for all non-exit exceptions.'
__format__ = <built-in method __format__ of exceptions.
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.
__getslice__ = <method-wrapper '__getslice__' of exceptions.
__hash__ = <method-wrapper '__hash__' of exceptions.
__init__ = <method-wrapper '__init__' of exceptions.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.
__repr__ = <method-wrapper '__repr__' of exceptions.
__setattr__ = <method-wrapper '__setattr__' of exceptions.
__setstate__ = <built-in method __setstate__ of exceptions.
__sizeof__ = <built-in method __sizeof__ of exceptions.
__str__ = <method-wrapper '__str__' of exceptions.
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.
args = ('Unknown id: dffcae17-
message = 'Unknown id: dffcae17-
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/
self.
File "/usr/lib/
raise Exception(result)
Exception: Unknown id: dffcae17-
Similar Traceback is seen on clearing the gateway ( The LR had 64 VN's attached)
neutron --os-tenant- name=PROJ5 router- gateway- clear P5-RTR1
05/27/2015 12:30:49 AM [cs-scale- 1:contrail- api:Config: 0]: __default__ [SYS_ERR]: VncApiError: <type 'exceptions. Exception' >
Python 2.7.3: /usr/bin/python
Wed May 27 00:30:49 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/ python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py in _dbe_subscribe_ callback( self=<vnc_ cfg_api_ server. vnc_cfg_ ifmap.VncServer KombuClient object>, oper_info={u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'a253c777- defb-46d1- aa3c-2c1c3f3854 3a'}) create_ notification( oper_info) update_ notification( oper_info) delete_ notification( oper_info) api_server. vnc_cfg_ ifmap.VncServer KombuClient object> update_ notification = <bound method VncServerKombuC lient._ dbe_update_ n...erver. vnc_cfg_ ifmap.VncServer KombuClient object>> defb-46d1- aa3c-2c1c3f3854 3a'}
958 self._dbe_
959 if oper_info['oper'] == 'UPDATE':
960 self._dbe_
961 elif oper_info['oper'] == 'DELETE':
962 self._dbe_
self = <vnc_cfg_
self._dbe_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'a253c777-
/usr/lib/ python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py in _dbe_update_ notification( self=<vnc_ cfg_api_ server. vnc_cfg_ ifmap.VncServer KombuClient object>, obj_info={u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'a253c777- defb-46d1- aa3c-2c1c3f3854 3a'}) client_ mgr.dbe_ read(obj_ info['type' ], obj_info)
1012 (ok, result) = self._db_
1013 if not ok:
1014 raise Exception(result)
1015
1016 new_obj_dict = resu...