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)
This commit is contained in:
Gregory Thiemonge 2021-02-09 08:45:33 +01:00 committed by Carlos Goncalves
parent b5c6c884a4
commit 0e593f4d26
1 changed files with 1 additions and 2 deletions

View File

@ -756,8 +756,6 @@ function octavia_init {
create_octavia_accounts
add_load-balancer_roles
configure_rsyslog
elif [ $OCTAVIA_NODE == 'api' ] ; then
create_octavia_accounts
@ -768,6 +766,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