Browse Source

Merge "Remove haproxy_check_script for UDP-only LBs"

tags/7.0.0.0rc1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
a28bc2a55a
2 changed files with 12 additions and 0 deletions
  1. +7
    -0
      octavia/amphorae/backends/agent/api_server/util.py
  2. +5
    -0
      releasenotes/notes/fix-udp-only-lbs-c4ca42106fc1e2bb.yaml

+ 7
- 0
octavia/amphorae/backends/agent/api_server/util.py View File

@@ -347,6 +347,13 @@ def vrrp_check_script_update(lb_id, action):
if not udp_ids:
with open(haproxy_check_script_path(), 'w') as text_file:
text_file.write('exit 1')
else:
try:
LOG.debug("Attempting to remove old haproxy check script...")
os.remove(haproxy_check_script_path())
LOG.debug("Finished removing old haproxy check script.")
except FileNotFoundError:
LOG.debug("No haproxy check script to remove.")
return
if action == consts.AMP_ACTION_STOP:
lb_ids.remove(lb_id)


+ 5
- 0
releasenotes/notes/fix-udp-only-lbs-c4ca42106fc1e2bb.yaml View File

@@ -0,0 +1,5 @@
---
fixes:
- |
Fixed an issue where UDP only load balancers would not bring up the VIP
address.

Loading…
Cancel
Save