Commit ab733808 authored by David Johnson's avatar David Johnson

Extend dbc6d151 (neutron lock_path init) to all nodes.

parent 3f702b40
......@@ -233,6 +233,12 @@ if [ -n "$fwdriver" ]; then
firewall_driver $fwdriver
fi
if [ $OSVERSION -ge $OSROCKY ]; then
crudini --set /etc/neutron/neutron.conf oslo_concurrency \
lock_path /var/lib/neutron/lock
mkdir -p /var/lib/neutron/lock/
chown neutron:neutron /var/lib/neutron/lock
fi
#
# Ok, also put our FQDN into the hosts file so that local applications can
......
......@@ -239,6 +239,13 @@ if [ $OSVERSION -ge $OSLIBERTY -a $OSVERSION -lt $OSNEWTON ]; then
patch -d / -p0 < $DIRNAME/etc/neutron-liberty-ovs-agent-segmentation-id-None.patch
fi
if [ $OSVERSION -ge $OSROCKY ]; then
crudini --set /etc/neutron/neutron.conf oslo_concurrency \
lock_path /var/lib/neutron/lock
mkdir -p /var/lib/neutron/lock/
chown neutron:neutron /var/lib/neutron/lock
fi
#
# Neutron depends on bridge module, but it doesn't autoload it.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment