+++ This bug was initially created as a clone of Bug #887334 +++ Description of problem: A nova.conf file with a comprehensive set of configuration options should be shipped various nova services. Here is a good example to work from: https://github.com/yocum137/nova.conf/blob/master/nova.conf --- Additional comment from Dan Yocum on 2012-12-14 12:22:34 EST --- This one looks like it's more up-to-date: https://github.com/openstack/nova/blob/master/etc/nova/nova.conf.sample
https://github.com/openstack/cinder/blob/master/etc/cinder/cinder.conf.sample
Ok, cinder is very similar to nova so copying the conclusions from bug #887334: 1) Take our current cinder.conf with our distribution specific defaults and put that in /usr/share/cinder/cinder-dist.conf The systemd units and init scripts will need to be updated to do: --config-file=/usr/share/cinder/cinder-dist.conf --config-file=/etc/cinder/cinder.conf This means that users can start with an empty /etc/cinder/cinder.conf file and still be using the distribution defaults This file should not be marked as %config(noreplace) since it is not intended to be user-editable 2) Take upstream cinder.conf.sample and install it in /etc/cinder/cinder.conf This means the default user-editable config file contains nothing but comments explaining what options are available 3) The sample cinder.conf file should use the new format that nova has switched to in Grizzly: https://review.openstack.org/19292 4) Our "vanilla" packages (e.g. in Fedora or EPEL) should just use the stock upstream cinder.conf.sample with the exception that we should update the default values in the sample file to reflect our distribution defaults 5) In the productized packages, we should strip the sample cinder.conf to only include options we recommend using and perhaps improve the descriptions. 6) In our default /etc/cinder/cinder.conf we should also document the [keystone_authtoken] section, but the keystone_authtoken defaults should live in /usr/share/cinder/cinder-dist.conf
From apevec - "One thing to verify is Nova selinux policy: /etc/nova/nova.conf is etc_t while files under /usr/share/nova/ get usr_t"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0260.html