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.
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: /bugs.launchpad .net/juniperope nstack/ +bug/1389157
https:/
thanks
Ashish