Traceback due to undefined _queue attribute in contrail-kube-manager log
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Dinesh Bakiaraj | |||
Trunk |
Fix Committed
|
High
|
Dinesh Bakiaraj |
Bug Description
R4.0 Ubuntu 14.04
With project-isolation set for namespaces in k8s, ran the sanity and we see this bt multiple times
05/14/2017 07:26:30 PM [contrail-
Python 2.7.6: /usr/bin/python
Sun May 14 19:26:30 2017
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/
333 self.service_
334 self.pod_
335 self.namespace_
336 except Exception as e:
337 string_buf = StringIO()
self = <kube_manager.
self.namespace_mgr = <kube_manager.
self.namespace_
/usr/lib/
408
409 def namespace_
410 self._sync_
411
412 def process(self, event):
self = <kube_manager.
self._sync_
/usr/lib/
405 event['type'] = 'DELETED'
406 event['object'] = object
407 self._queue.
408
409 def namespace_
self = <kube_manager.
self._queue undefined
event = {'object': {'kind': 'Namespace', 'metadata': {'name': u'ctest-
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Attribute not found.'
__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 = ("'VncNamespace' object has no attribute '_queue'",)
message = "'VncNamespace' object has no attribute '_queue'"
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/
self.
File "/usr/lib/
self.
AttributeError: 'VncNamespace' object has no attribute '_queue'
Review in progress