Move loadbalancer vip port creation outside of transaction
Currently _create_port_for_vip calls ml2 create_port() method
which includes rpc notification.
That leads to lock wait timeouts in certain cases.
The patch fixes that while making VIP creation process non-atomic.
But that is fine as long until create_vip() returns vip id, it's
not usable from API.
Reviewed: https:/ /review. openstack. org/108945 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=26750914395 7f73e42f6550ce9 3fca6248c721d8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 267509143957f73 e42f6550ce93fca 6248c721d8
Author: Eugene Nikanorov <email address hidden>
Date: Wed Jul 23 14:14:00 2014 +0400
Move loadbalancer vip port creation outside of transaction
Currently _create_ port_for_ vip calls ml2 create_port() method
which includes rpc notification.
That leads to lock wait timeouts in certain cases.
The patch fixes that while making VIP creation process non-atomic.
But that is fine as long until create_vip() returns vip id, it's
not usable from API.
Change-Id: Ie30973de80118a 6b022e8c3bb07ca 48122ebcd29
Partial-Bug: #1334226