Undefined attribute _get_pods_list in VncEndpoints

Bug #1668851 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Vedamurthy Joshi

Bug Description

R4.0 Build 3041

Got this error in kube-manager while running tests

VncNamespace - Got MODTraceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/kube_manager/vnc/vnc_kubernetes.py", line 330, in vnc_process
    self.endpoints_mgr.process(event)
  File "/usr/lib/python2.7/dist-packages/kube_manager/vnc/vnc_endpoints.py", line 251, in process
    self.vnc_endpoint_delete(uid, name, namespace)
  File "/usr/lib/python2.7/dist-packages/kube_manager/vnc/vnc_endpoints.py", line 227, in vnc_endpoint_delete
    cur_pod_ids = self._get_pod_list(event)
AttributeError: 'VncEndpoints' object has no attribute '_get_pod_list'
<Greenlet at 0x2ac7e4aebcd0: <bound method VncKubernetes.vnc_process of <kube_manager.vnc.vnc_kubernetes.VncKubernetes object at 0x2ac7dbdea910>>> failed with AttributeError

Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Can you see if you are seeing this problem anymore.. Flip it to me if you see it. Also in what sequence it happens..

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Not hitting this in the last few builds..

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Will monitor for few more days before closing

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Sachin,
I saw this again when running k8s sanity on build 3060

I could not locate any file defining _get_pod_list() ...is there any ?

root@testbed-1-vm1(controller):/var/log/contrail# grep -R "def _get_pod_list" /usr/lib/python2.7/dist-packages/kube_manager/*
root@testbed-1-vm1(controller):/var/log/contrail#

Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Fix committed today(05/03) via https://review.opencontrail.org/#/c/30960/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.