diff --git a/snap/etc/nova/nova.conf b/snap/etc/nova/nova.conf index ccf8ad9..a91150c 100644 --- a/snap/etc/nova/nova.conf +++ b/snap/etc/nova/nova.conf @@ -1,4 +1,7 @@ # Snap distribution defaults - do not change, override in $SNAP_COMMON/etc/nova.conf.d +[DEFAULT] +logdir=/var/snap/nova/common/log/ + [wsgi] secure_proxy_ssl_header = HTTP_X_FORWARDED_PROTO diff --git a/snap/templates/nova-placement-api.ini.j2 b/snap/templates/nova-placement-api.ini.j2 index 82851eb..320fc43 100644 --- a/snap/templates/nova-placement-api.ini.j2 +++ b/snap/templates/nova-placement-api.ini.j2 @@ -8,4 +8,3 @@ processes = 4 thunder-lock = true lazy-apps = true home = {{ snap }}/usr -pyargv = {{ pyargv }} diff --git a/snapcraft.yaml b/snapcraft.yaml index 2bc1e4a..48db599 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -26,9 +26,10 @@ apps: uwsgi: command: > env PYTHONPATH=$PYTHONPATH:$SNAP/lib/python2.7/site-packages - OS_PLACEMENT_CONFIG_DIR=$SNAP_COMMON/etc/nova $SNAP/usr/bin/python2 $SNAP/bin/snap-openstack nova-uwsgi daemon: simple + environment: + OS_PLACEMENT_CONFIG_DIR: $SNAP/etc/nova/ nginx: command: > env PYTHONPATH=$PYTHONPATH:$SNAP/lib/python2.7/site-packages