Configure rsyslog on Octavia service nodes in devstack

{admin,tenant}_log_targets options are configured with
MGMT_PORT_IP in devstack, which contains the IP address
of the local management interface. In multinode setup,
it means that the second node should run a rsyslog
service to receive logs from amphorae that have been
spawned by its worker.

Change-Id: If2841720009c2e402127e2e0080efdd56b68f6c9
(cherry picked from commit f45092a876)
(cherry picked from commit 0e593f4d26)
This commit is contained in:
Gregory Thiemonge 2021-02-09 08:45:33 +01:00 committed by Carlos Goncalves
parent 6ef1564dba
commit e9bc5d9f71
1 changed files with 1 additions and 2 deletions

View File

@ -714,8 +714,6 @@ function octavia_init {
create_octavia_accounts
add_load-balancer_roles
configure_rsyslog
elif [ $OCTAVIA_NODE == 'api' ] ; then
create_octavia_accounts
@ -726,6 +724,7 @@ function octavia_init {
create_mgmt_network_interface
create_amphora_flavor
configure_lb_mgmt_sec_grp
configure_rsyslog
fi
if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then