AttributeError on update() while starting svc-monitor
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Medium
|
Rudra Rugge | |||
Trunk |
Fix Committed
|
Medium
|
Rudra Rugge |
Bug Description
R3.0 2715 Ubuntu 14.04 Kilo
Observed this on supervisor-config restart
02/24/2016 10:40:52 AM [contrail-
Python 2.7.6: /usr/bin/python
Wed Feb 24 10:40:52 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/
37 self._db_
38 try:
39 self._vnc_
40 except Exception:
41 svc_monitor.
self = <svc_monitor.
self._vnc_
oper_info = {u'oper': u'UPDATE', u'type': u'instance-ip', u'uuid': u'5c8cf42b-
/usr/lib/
66 else:
67 obj = obj_class.
68 obj.update()
69 dependency_tracker = DependencyTracker(
70 DBBaseSM.
obj = None
obj.update undefined
<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 = ("'NoneType' object has no attribute 'update'",)
message = "'NoneType' object has no attribute 'update'"
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/
obj.update()
AttributeError: 'NoneType' object has no attribute 'update'