Commit b8113a73 authored by David Johnson's avatar David Johnson

Also set neutron lock_path in DEFAULT section.

(This should be unnecessary, but I saw the ovs agent whining and failing
because this was missing.  It should only be set in the oslo_concurrency
section.  Go figure...)
parent f58916cc
......@@ -1629,6 +1629,8 @@ if [ -z "${NEUTRON_DBPASS}" ]; then
if [ $OSVERSION -eq $OSROCKY ]; then
crudini --set /etc/neutron/neutron.conf oslo_concurrency \
lock_path /var/lib/neutron/lock
crudini --set /etc/neutron/neutron.conf DEFAULT \
lock_path /var/lib/neutron/lock
mkdir -p /var/lib/neutron/lock/
chown neutron:neutron /var/lib/neutron/lock
fi
......
......@@ -60,6 +60,8 @@ fi
if [ $OSVERSION -eq $OSROCKY ]; then
crudini --set /etc/neutron/neutron.conf oslo_concurrency \
lock_path /var/lib/neutron/lock
crudini --set /etc/neutron/neutron.conf DEFAULT \
lock_path /var/lib/neutron/lock
mkdir -p /var/lib/neutron/lock/
chown neutron:neutron /var/lib/neutron/lock
fi
......
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