cinder.conf.sample looks outdated

Bug #1226783 reported by Andreas Jaeger
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Triaged
Low
Walt Boring

Bug Description

There's only a [DEFAULT] section, but there should be a [database] section as well (not sure what else is missing)

For example:
# The SQLAlchemy connection string used to connect to the
# database (string value)
#connection=sqlite:////cinder/openstack/common/db/$sqlite_db

But according to ./cinder/openstack/common/db/sqlalchemy/session.py:
database_opts = [
    cfg.StrOpt('connection',
               default='sqlite:///' +
                       os.path.abspath(os.path.join(os.path.dirname(__file__),
                       '../', '$sqlite_db')),
               help='The SQLAlchemy connection string used to connect to the '
                    'database',
               deprecated_name='sql_connection',
               deprecated_group=DEFAULT,
...
CONF.register_opts(database_opts, 'database')

So, either it's sql_connection in [DEFAULT] or connection in [database]

Revision history for this message
John Griffith (john-griffith) wrote :

Everything in Cinder is currently listed under the "DEFAULT" section. Could pull the conf generation updates from common to fix it up to be more like Nova.

Thierry Carrez (ttx)
Changed in cinder:
milestone: none → havana-rc1
Changed in cinder:
status: New → Triaged
importance: Undecided → High
Changed in cinder:
assignee: nobody → Walt Boring (walter-boring)
Changed in cinder:
milestone: havana-rc1 → icehouse-1
Revision history for this message
Walt Boring (walter-boring) wrote :

This requires too many changes at this point in the Havana release cycle. This needs to be addressed in Icehouse.

Changed in cinder:
milestone: icehouse-1 → next
Revision history for this message
John Griffith (john-griffith) wrote :

This is strictly formatting/sections which we've never had but some other projects do. I'm fine with looking at getting this on the same page as other projects, but I also don't see it as worth risking anything in terms of compatibility or taking away from other RC related items at this point.

Changed in cinder:
importance: High → Low
milestone: next → icehouse-1
Changed in cinder:
milestone: icehouse-1 → icehouse-2
Changed in cinder:
milestone: icehouse-2 → icehouse-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.