Bug 887804 - a comprehensive cinder.conf file should be included
Summary: a comprehensive cinder.conf file should be included
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 1.0 (Essex)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: snapshot2
: 2.1
Assignee: Eric Harney
QA Contact: Attila Fazekas
URL:
Whiteboard:
Depends On: 903719
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-17 11:51 UTC by Nikola Dipanov
Modified: 2016-04-26 16:16 UTC (History)
3 users (show)

Fixed In Version: openstack-cinder-2012.2.1-6.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 887334
Environment:
Last Closed: 2013-02-14 18:23:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0260 0 normal SHIPPED_LIVE Red Hat OpenStack 2.0 (Folsom) Preview bug fix and enhancement update 2013-02-14 23:21:02 UTC

Description Nikola Dipanov 2012-12-17 11:51:12 UTC
+++ 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

Comment 4 Mark McLoughlin 2013-01-16 13:09:36 UTC
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

Comment 5 Mark McLoughlin 2013-01-17 22:26:39 UTC
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"

Comment 9 errata-xmlrpc 2013-02-14 18:23:30 UTC
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


Note You need to log in before you can comment on or make changes to this bug.