From: vsaienko Date: Fri, 12 Jun 2015 06:57:26 +0000 (+0300) Subject: Remove 'cinder-manage db sync' from cinder-common.postinst X-Git-Tag: mos-9.0~15 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;ds=inline;h=0f30a3e029e928b2bd9fa2dc0efbec74a449b611;p=openstack-build%2Fcinder-build.git Remove 'cinder-manage db sync' from cinder-common.postinst Closes-Bug: #1422350 Change-Id: Ia9d045fd8360381f9900a998da7a761f95caf566 --- diff --git a/trusty/debian/changelog b/trusty/debian/changelog index c4263c825..e1bbaacbe 100644 --- a/trusty/debian/changelog +++ b/trusty/debian/changelog @@ -1,3 +1,9 @@ +cinder (1:2015.1.0-1~u14.04+mos3) mos7.0; urgency=medium + + * remove "cinder-manage db sync" from "cinder-common.postinst" + + -- Vasyl Saienko Wed, 20 May 2015 10:05:46 +0200 + cinder (1:2015.1.0-1~u14.04+mos2) mos7.0; urgency=medium * Fix python-oslo-* naming scheme diff --git a/trusty/debian/cinder-common.postinst b/trusty/debian/cinder-common.postinst index 8045dbffb..0c89129eb 100644 --- a/trusty/debian/cinder-common.postinst +++ b/trusty/debian/cinder-common.postinst @@ -19,12 +19,6 @@ if [ "$1" = "configure" ]; then chmod 0755 /etc/cinder/rootwrap.d chown root:root /etc/cinder/rootwrap.conf - if ! grep -qE "^(sql_)?connection.*" /etc/cinder/cinder.conf || \ - grep -qE "^(sql_)?connection.*sqlite.*" /etc/cinder/cinder.conf - then - su -s /bin/sh -c 'cinder-manage db sync' cinder - fi - if [ -e /var/lib/cinder/cinder.sqlite ]; then chown cinder:cinder /var/lib/cinder/cinder.sqlite chmod 0600 /var/lib/cinder/cinder.sqlite