From 419319103ad6d875a56e3d0c00637ea1038bf9ec Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 8 Feb 2016 22:57:18 +0000 Subject: [PATCH] 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 --- octavia/controller/worker/tasks/amphora_driver_tasks.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/octavia/controller/worker/tasks/amphora_driver_tasks.py b/octavia/controller/worker/tasks/amphora_driver_tasks.py index d99bc54d22..f8f34b274e 100644 --- a/octavia/controller/worker/tasks/amphora_driver_tasks.py +++ b/octavia/controller/worker/tasks/amphora_driver_tasks.py @@ -52,11 +52,6 @@ class ListenersUpdate(BaseAmphoraTask): def execute(self, loadbalancer, listeners): """Execute updates per listener for an amphora.""" 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) def revert(self, listeners, *args, **kwargs):