Add lock_path and instances_path to config

Both of these paths were missing from the configuration
but they appear necessary for Kilo.  I'm not clear on why
it worked ok in Juno, perhaps different defaults.

Change-Id: I8b7c375627ada860356f9b9fcc205751083b804c
Partially-Implements: blueprint port-klo
This commit is contained in:
Steven Dake 2015-05-02 09:29:59 -07:00
parent 2ef9203ece
commit 57af5e43c4

View File

@ -55,6 +55,11 @@ crudini --set $cfg DEFAULT vif_plugging_timeout 300
crudini --set $cfg DEFAULT volume_api_class nova.volume.cinder.API
crudini --set $cfg DEFAULT image_service nova.image.glance.GlanceImageService
crudini --set $cfg DEFAULT osapi_volume_listen 0.0.0.0
crudini --set $cfg DEFAULT instances_path /var/lib/nova/instances
crudini --set $cfg DEFAULT lock_path /var/lib/nova/lock
# This is not created by openstack-nova packaging
mkdir -p /var/lib/nova/lock
# configure logging
crudini --set $cfg DEFAULT log_dir "${NOVA_LOG_DIR}"