RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1028688 - should use new names in cinder-dist.conf
Summary: should use new names in cinder-dist.conf
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Milestone2
: Icehouse
Assignee: Lars Kellogg-Stedman
QA Contact: Giulio Fidente
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-09 15:43 UTC by Pádraig Brady
Modified: 2016-05-19 15:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-19 15:36:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Pádraig Brady 2013-11-09 15:43:34 UTC
change 'sql_connection' to 'connection' in the database group etc.
This is good form and also avoids a confusing config issue wrt
overriding config settings, logged at: http://pad.lv/1249620

Comment 1 Lars Kellogg-Stedman 2015-03-20 15:21:14 UTC
This seems to have been resolved in recent releases.

After installing the openstack-cinder package:

# sed -n '/^\[database]/,/^\[/p' /etc/cinder/cinder.conf | 
  grep -v '# ' | grep connection
#connection=<None>
#slave_connection=<None>
#connection_debug=0
#connection_trace=false


After a packstack install:

# crudini --format=lines --get /etc/cinder/cinder.conf  | grep connection
[ database ] connection = mysql://cinder:c05532b830db42ce.122.26/cinder

Comment 2 Lars Kellogg-Stedman 2015-03-20 15:22:07 UTC
Argh, I totally misread the file to check. Yeah, cinder-dist.conf still uses the legacy name:

[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper = lioadm
sql_connection = mysql://cinder:cinder@localhost/cinder
rootwrap_config = /etc/cinder/rootwrap.conf
auth_strategy = keystone

Comment 3 Lars Kellogg-Stedman 2015-03-20 15:25:59 UTC
Change proposed @ https://review.gerrithub.io/#/c/221786/

Comment 5 Chandan Kumar 2016-05-19 15:36:29 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


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