Comment 1 for bug 1389157

Revision history for this message
Ashish Ranjan (aranjan-n) wrote :

Pedro, Ajay

  Could you analyze this bug. From my limited understanding of python, the code for add_port in vrouter_api.py looks buggy.

https://github.com/Juniper/contrail-controller/blob/master/src/vnsw/contrail-vrouter-api/contrail_vrouter_api/vrouter_api.py

If we set _client to ‘None’, depending on where we are in the function we can have exception. Isn’t it? Is intention is to run add_port exclusively. If yes, then we should have a lock. I think from the bt it feels like there is some kind of concurrency issue. Any insight will be helpful.

Bug link:
https://bugs.launchpad.net/juniperopenstack/+bug/1389157

thanks
Ashish