Bug 1041311

Summary: Cinder is writing volume data into /etc/cinder, should probably use /var/lib/cinder
Product: [Community] RDO Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED NOTABUG QA Contact: Giulio Fidente <gfidente>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: eharney, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-18 21:08:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.