creating namespace in k8s does not result in creating a contrail-api project
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
Yuvaraja Mariappan |
Bug Description
4.0 Build 3049
On creating a namespace, below error is seen in kube manager log
03/30/2017 03:16:25 AM [contrail-
Python 2.7.6: /usr/bin/python
Thu Mar 30 03:16:25 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/
46 try:
47 self.oper_info = oper_info
48 self.vnc_
49
50 except Exception:
self = <cfgm_common.
self.vnc_
/usr/lib/
90 oper, obj_id)
91 if oper == 'CREATE':
92 self.handle_
93 elif oper == 'UPDATE':
94 self.handle_
self = <cfgm_common.
self.handle_create = <bound method VncAmqpHandle.
/usr/lib/
115 self.db_
116 obj_id, obj_fq_name, self.obj_type)
117 self.obj = self.obj_
118 if self.obj is None:
119 self.logger.
self = <cfgm_common.
self.obj = None
self.obj_class = <class 'kube_manager.
self.obj_
obj_key = u'0c5fa92b-
/usr/lib/
74 if key not in cls._dict:
75 try:
76 obj = cls(key, *args)
77 cls._dict[key] = obj
78 return obj
obj undefined
cls = <class 'kube_manager.
key = u'0c5fa92b-
args = ()
/usr/lib/
718 self.dst_
719 self.dst_ports = None
720 obj_dict = self.update(
721 super(SecurityG
722
obj_dict = None
self = <kube_manager.
self.update = <bound method SecurityGroupKM
/usr/lib/
728 self.build_
729 self.annotations = obj.get(
730 for kvp in self.annotation
731 if kvp.get('key') == 'namespace':
732 self.namespace = kvp.get('value')
kvp undefined
self = <kube_manager.
self.annotations = None
self.annotation
<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 'get'",)
message = "'NoneType' object has no attribute 'get'"
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.obj = self.obj_
File "/usr/lib/
obj = cls(key, *args)
File "/usr/lib/
obj_dict = self.update(
File "/usr/lib/
for kvp in self.annotation
AttributeError: 'NoneType' object has no attribute 'get'
03/30/2017 03:16:25 AM [contrail-
03/30/2017 03:16:25 AM [contrail-
Changed in juniperopenstack: | |
assignee: | nobody → ymariappan (ymariappan) |
From 3049 onwards, the default behavior has been changed. Only came to know about it now