With snap packaging (see snapcraft.io) the package is installed into a
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/nova/nova.conf. To override the defaults, a separate
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/etc/nova/nova.conf, or
$SNAP_COMMON/etc/nova/nova.conf.d/ can be used to override config.
This patch adds these snap directories to the default config paths where
oslo looks for config.
Reviewed: https:/ /review. openstack. org/476139 /git.openstack. org/cgit/ openstack/ oslo.config/ commit/ ?id=982cf476d0d 7b6fcc96ecbefb1 c2f70685cb84a7
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 982cf476d0d7b6f cc96ecbefb1c2f7 0685cb84a7
Author: Corey Bryant <email address hidden>
Date: Wed Jun 14 09:57:23 2017 -0400
Add snap package paths to default config dirs
With snap packaging (see snapcraft.io) the package is installed into a nova/nova. conf. To override the defaults, a separate etc/nova/ nova.conf, or COMMON/ etc/nova/ nova.conf. d/ can be used to override config.
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/
$SNAP_
This patch adds these snap directories to the default config paths where
oslo looks for config.
For more details on $SNAP and $SNAP_COMMON please refer to /snapcraft. io/docs/ reference/ env.
https:/
Change-Id: I83627e0f215382 aedc7b32163e030 3b39e8bccf8 619dacfad8a2218 b09e8109ec)
Closes-Bug: 1696830
(cherry picked from commit 21e70e28b3015c1