Browse Source

Simplify octavia post deploy configs

Consolidate post deploy configurations in a single file. Octavia
controller services share many configurations. It is best to consolidate
them in the same configuration file. This fixes problems seen like
amphorae not having the controller_ip_port_list config value set on
failover triggered by the Health Manager service as that config was only
being loaded for the Worker service.

Backport note: this backport also includes https://review.opendev.org/696729/
Depends-On: https://review.opendev.org/#/c/691925/
Closes-Bug: #1836074

Change-Id: I32524f85ef6a0ca3e87fa9acc8c9e12776225717
(cherry picked from commit c2bb9c0937)
(cherry picked from commit 25d8177d14)
(cherry picked from commit 6a45e9b37a)
changes/34/691934/3
Carlos Goncalves 4 months ago
parent
commit
f2820edc79
4 changed files with 8 additions and 3 deletions
  1. +1
    -1
      docker/services/octavia-health-manager.yaml
  2. +1
    -1
      docker/services/octavia-housekeeping.yaml
  3. +1
    -1
      docker/services/octavia-worker.yaml
  4. +5
    -0
      releasenotes/notes/consolidate-octavia-post-deploy-configs-bc251a5446e5615d.yaml

+ 1
- 1
docker/services/octavia-health-manager.yaml View File

@@ -92,7 +92,7 @@ outputs:
config_image: {get_param: DockerOctaviaConfigImage}
kolla_config:
/var/lib/kolla/config_files/octavia_health_manager.json:
command: /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/health-manager.log --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-health-manager
command: /usr/bin/octavia-health-manager --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/health-manager.log --config-file /etc/octavia/post-deploy.conf --config-dir /etc/octavia/conf.d/octavia-health-manager
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"


+ 1
- 1
docker/services/octavia-housekeeping.yaml View File

@@ -88,7 +88,7 @@ outputs:
config_image: {get_param: DockerOctaviaConfigImage}
kolla_config:
/var/lib/kolla/config_files/octavia_housekeeping.json:
command: /usr/bin/octavia-housekeeping --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/housekeeping.log --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-housekeeping
command: /usr/bin/octavia-housekeeping --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/housekeeping.log --config-file /etc/octavia/post-deploy.conf --config-dir /etc/octavia/conf.d/octavia-housekeeping
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"


+ 1
- 1
docker/services/octavia-worker.yaml View File

@@ -93,7 +93,7 @@ outputs:
config_image: {get_param: DockerOctaviaConfigImage}
kolla_config:
/var/lib/kolla/config_files/octavia_worker.json:
command: /usr/bin/octavia-worker --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/worker.log --config-dir /etc/octavia/conf.d/common --config-dir /etc/octavia/conf.d/octavia-worker
command: /usr/bin/octavia-worker --config-file /usr/share/octavia/octavia-dist.conf --config-file /etc/octavia/octavia.conf --log-file /var/log/octavia/worker.log --config-file /etc/octavia/post-deploy.conf --config-dir /etc/octavia/conf.d/octavia-worker
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"


+ 5
- 0
releasenotes/notes/consolidate-octavia-post-deploy-configs-bc251a5446e5615d.yaml View File

@@ -0,0 +1,5 @@
---
fixes:
- |
Fixed an issue where Octavia controller services were not properly
configured.

Loading…
Cancel
Save