RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1041311 - Cinder is writing volume data into /etc/cinder, should probably use /var/lib/cinder
Summary: Cinder is writing volume data into /etc/cinder, should probably use /var/lib/...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RDO
Classification: Community
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Eric Harney
QA Contact: Giulio Fidente
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 14:42 UTC by Lars Kellogg-Stedman
Modified: 2016-04-26 22:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 21:08:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2013-12-12 14:42:50 UTC
Description of problem:

Cinder is writing state information into /etc/cinder/volumes.  I believe that persistent state data like this should go into /var/lib/cinder, not into /etc.  I expect /etc to have administrator maintained configuration data.

This would bring our cinder packages in line with the behavior of other OpenStack services.

Version-Release number of selected component (if applicable):

openstack-cinder-2013.2-3.fc20.noarch

Comment 1 Eric Harney 2013-12-12 17:26:37 UTC
This comes from "volumes_dir = /etc/cinder/volumes" in cinder-dist.conf.

/etc/cinder/volumes is referenced by /etc/tgt/conf.d/cinder.conf and used to load tgtd information.

Comment 2 Lars Kellogg-Stedman 2015-03-18 21:08:00 UTC
I guess I don't feel strongly about this, since I was surprised to find I was the one who opened it.


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