Commit dbc6d151 authored by David Johnson's avatar David Johnson

Set the neutron lock_path just in case.

parent 7fae07a8
......@@ -1626,6 +1626,13 @@ if [ -z "${NEUTRON_DBPASS}" ]; then
crudini --set /etc/neutron/neutron.conf database max_pool_size $ncpus
fi
if [ $OSVERSION -eq $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
crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 \
type_drivers ${network_types}
crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 \
......
......@@ -57,6 +57,13 @@ if [ $USE_NEUTRON_LBAAS -eq 1 -a $OSVERSION -ge $OSNEWTON ]; then
maybe_install_packages neutron-lbaasv2-agent
fi
if [ $OSVERSION -eq $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
# Configure the L3 agent.
crudini --set /etc/neutron/l3_agent.ini DEFAULT \
interface_driver $interface_driver
......
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