From 6fce90c8638faa6a04e54b66345b6e08a8720dc8 Mon Sep 17 00:00:00 2001 From: Maksym Yatsenko Date: Tue, 19 May 2015 19:08:13 +0300 Subject: [PATCH] Remove "cinder-manage db sync" from "cinder-common.postinst" Closes-Bug:#1422350 Change-Id: I44dab3cbe9abf28c10e8f63bfc1f17dc8fb518a4 --- trusty/debian/changelog | 7 +++++++ trusty/debian/cinder-common.postinst | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) 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 -- 2.45.2