From 7c3144ce84f9b0c206598e3a8298d1046afcd85a Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Sun, 4 Dec 2022 01:05:32 +0100 Subject: [PATCH] Update the rootwrap config when upgrading Neutron As reported in the related bug, the rootwrap filters are not updated between versions. This patch calls the devstack method that setups the Neutron rootwrap configuration and filters. Closes-Bug: #1999235 Change-Id: Iaebf1b33ccf3bfd64191f9a898408bcfe11dd557 --- projects/50_neutron/upgrade.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/50_neutron/upgrade.sh b/projects/50_neutron/upgrade.sh index c93bda86..4046b46c 100755 --- a/projects/50_neutron/upgrade.sh +++ b/projects/50_neutron/upgrade.sh @@ -132,6 +132,10 @@ METERING_AGENT_CONF_FILENAME=${METERING_AGENT_CONF_FILENAME:-"/etc/neutron/servi AGENT_L3_BINARY=${AGENT_L3_BINARY:-"$NEUTRON_BIN_DIR/neutron-l3-agent"} AGENT_VPN_BINARY=${AGENT_VPN_BINARY:-"$NEUTRON_BIN_DIR/neutron-vpn-agent"} +# Update the rootwrap configuration +# TODO(ralonsoh): make this method public in "devstack". +_neutron_setup_rootwrap + # Start neutron and agents start_neutron_service_and_check start_neutron_agents