Browse Source

worker: Re-add FailoverPreparationForAmphora

This tasks removes the dns_name option from ports, so that they can be
plugged into a new amphora, which has a different name. This was lost in
change I04d267bd3cdedca11f0350c5255086233cba14ec.

Story: 2006205
Task: 35791

Conflicts:
    octavia/controller/worker/v1/flows/amphora_flows.py

Change-Id: I4230feae5b6f0778b738bddbc69c5a0cd3e6930c
Signed-off-by: Sven Wegener <sven.wegener@inovex.de>
(cherry picked from commit c4c7387f89)
changes/80/678180/1
Sven Wegener 8 months ago
parent
commit
4b7fe7f80c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      octavia/controller/worker/flows/amphora_flows.py

+ 4
- 0
octavia/controller/worker/flows/amphora_flows.py View File

@@ -364,6 +364,10 @@ class AmphoraFlows(object):
364 364
             rebind={constants.AMPHORA: constants.FAILED_AMPHORA},
365 365
             requires=constants.AMPHORA))
366 366
 
367
+        failover_amphora_flow.add(network_tasks.FailoverPreparationForAmphora(
368
+            rebind={constants.AMPHORA: constants.FAILED_AMPHORA},
369
+            requires=constants.AMPHORA))
370
+
367 371
         # Note: It seems intuitive to boot an amphora prior to deleting
368 372
         #       the old amphora, however this is a complicated issue.
369 373
         #       If the target host (due to anit-affinity) is resource

Loading…
Cancel
Save