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:
Michael Johnson 2016-02-08 22:57:18 +00:00
parent 9fe6b1282f
commit 419319103a
1 changed files with 0 additions and 5 deletions

View File

@ -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):