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 commitf45092a876
) (cherry picked from commit0e593f4d26
) (cherry picked from commite9bc5d9f71
)
This commit is contained in:
parent
131c69608d
commit
726d322f0a
|
@ -650,8 +650,6 @@ function octavia_init {
|
||||||
create_octavia_accounts
|
create_octavia_accounts
|
||||||
|
|
||||||
add_load-balancer_roles
|
add_load-balancer_roles
|
||||||
|
|
||||||
configure_rsyslog
|
|
||||||
elif [ $OCTAVIA_NODE == 'api' ] ; then
|
elif [ $OCTAVIA_NODE == 'api' ] ; then
|
||||||
create_octavia_accounts
|
create_octavia_accounts
|
||||||
|
|
||||||
|
@ -662,6 +660,7 @@ function octavia_init {
|
||||||
create_mgmt_network_interface
|
create_mgmt_network_interface
|
||||||
create_amphora_flavor
|
create_amphora_flavor
|
||||||
configure_lb_mgmt_sec_grp
|
configure_lb_mgmt_sec_grp
|
||||||
|
configure_rsyslog
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then
|
if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then
|
||||||
|
|
Loading…
Reference in New Issue