+cinder (1:2015.1.1-1~u14.04+mos1) mos7.0; urgency=medium
+
+ * Fix double [DEFAULT] within config generation
+
+ -- Igor Yozhikov <iyozhikov@mirantis.com> Fri, 07 Aug 2015 17:02:59 +0300
+
cinder (1:2015.1.0-1~u14.04+mos6) mos7.0; urgency=medium
* Fix build and runtime dependencies
+debian/cinder.conf etc/cinder
etc/cinder/api-paste.ini etc/cinder
etc/cinder/policy.json etc/cinder
etc/cinder/rootwrap.conf etc/cinder
oslo-config-generator \
--namespace oslo_concurrency --namespace oslo_db \
--namespace oslo_messaging --namespace policy \
- --namespace keystonemiddleware.auth_token >> /etc/cinder/cinder.conf.sample
+ --namespace keystonemiddleware.auth_token \
+ | sed '/^\[DEFAULT/d' >> /etc/cinder/cinder.conf.sample
if [ "$?" -ne 0 ]; then
- echo "cinder configuration file generation fails!"
- fi
-
- if [ ! -f "/etc/cinder/cinder.conf" ]; then
- cp /etc/cinder/cinder.conf.sample /etc/cinder/cinder.conf
+ echo "cinder sample configuration file generation fails!"
fi
if [ -e /var/lib/cinder/cinder.sqlite ]; then
--- /dev/null
+[DEFAULT]
+rootwrap_config = /etc/cinder/rootwrap.conf
+api_paste_confg = /etc/cinder/api-paste.ini
+iscsi_helper = tgtadm
+volume_name_template = volume-%s
+volume_group = cinder-volumes
+verbose = True
+auth_strategy = keystone
+state_path = /var/lib/cinder
+lock_path = /var/lock/cinder
+volumes_dir = /var/lib/cinder/volumes