[K8s] Build 3049: contrail-kube-manager Traceback NameError: global name 'sg_fq_name' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Yuvaraja Mariappan |
Bug Description
Description:
When restarting contrail-
Steps:
1. Created rc with 3 pods in namespace development
2. Created defualy deny in namespace development
3. Created policy to accept traffic from port 80 on all pods of RC
4. Restart contrail-
Traceback
------------
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
sg_id = SecurityGroupKM
NameError: global name 'sg_fq_name' is not defined
Full Traceback
-----------------
dca3c7'],
u'obj_dict': {u'display_name': u'default_
"/var/log/
/usr/lib/
69 sg_id = self.get_
70 sg_name)
71 sg_id = SecurityGroupKM
72 if sg_id:
73 self._sg_
sg_id = None
global SecurityGroupKM = <class 'kube_manager.
SecurityGroupKM
sg_fq_name undefined
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.
__dict__ = {}
__doc__ = 'Name not found globally.'
__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 = ("global name 'sg_fq_name' is not defined",)
message = "global name 'sg_fq_name' is not defined"
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.
File "/usr/lib/
sg_id = SecurityGroupKM
NameError: global name 'sg_fq_name' is not defined
04/04/2017 12:32:09 AM [contrail-
04/04/2017 12:32:09 AM [contrail-
04/04/2017 12:32:09 AM [contrail-
04/04/2017 12:32:09 AM [contrail-
Changed in juniperopenstack: | |
milestone: | none → r4.0 |
importance: | Undecided → High |
assignee: | nobody → Yuvaraja Mariappan (ymariappan-u) |
information type: | Proprietary → Public |
https:/ /review. opencontrail. org/#/c/ 30296/ will fix this issue as well.
Thanks,
Yuvaraja