From: Maksym Yatsenko Date: Tue, 19 May 2015 16:08:13 +0000 (+0300) Subject: Remove "cinder-manage db sync" from "cinder-common.postinst" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F6806%2F1;p=openstack-build%2Fcinder-build.git Remove "cinder-manage db sync" from "cinder-common.postinst" Closes-Bug:#1422350 Change-Id: I44dab3cbe9abf28c10e8f63bfc1f17dc8fb518a4 --- diff --git a/trusty/debian/changelog b/trusty/debian/changelog index 9d145ec5d..be1d872fa 100644 --- a/trusty/debian/changelog +++ b/trusty/debian/changelog @@ -1,3 +1,10 @@ +cinder (1:2014.2.2-1~u14.04+mos2) mos6.1; urgency=medium + + * Remove "cinder-manage db sync" from "cinder-common.postinst" + * Closes-Bug:#1422350 + + -- Maksym Yatsenko Tue, 19 May 2015 16:09:45 +0300 + cinder (1:2014.2.2-1~u14.04+mos1) mos6.1; urgency=medium * Fix version according to Fuel versioning policy: 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