Reverts a workaround that is impacting amp updates
This patch removes a workaround database call that causes old data to be pushed to the amphora haproxy configuration. Change-Id: I7199a744700e446c1481b1b46d274b8a763730d6 Closes-Bug: #1542120
This commit is contained in:
parent
9fe6b1282f
commit
419319103a
|
@ -52,11 +52,6 @@ class ListenersUpdate(BaseAmphoraTask):
|
||||||
def execute(self, loadbalancer, listeners):
|
def execute(self, loadbalancer, listeners):
|
||||||
"""Execute updates per listener for an amphora."""
|
"""Execute updates per listener for an amphora."""
|
||||||
for listener in listeners:
|
for listener in listeners:
|
||||||
# Ideally this shouldn't be needed. This is a workaround, for a
|
|
||||||
# not very well understood bug not related to Octavia.
|
|
||||||
# https://bugs.launchpad.net/octavia/+bug/1492493
|
|
||||||
listener = self.listener_repo.get(db_apis.get_session(),
|
|
||||||
id=listener.id)
|
|
||||||
self.amphora_driver.update(listener, loadbalancer.vip)
|
self.amphora_driver.update(listener, loadbalancer.vip)
|
||||||
|
|
||||||
def revert(self, listeners, *args, **kwargs):
|
def revert(self, listeners, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue