From e6e6856da55ebc9724f469a0fcbc14b965bb0b39 Mon Sep 17 00:00:00 2001 From: Alex Ermolov Date: Wed, 8 Apr 2015 15:35:57 +0300 Subject: [PATCH] Remove "cinder-manage db sync" from "cinder-common.postinst" Closes-Bug: #1422350 Change-Id: Iab721fddbfc8672c562ca1b34adcdb9ffa3edc0e --- debian/cinder-common.postinst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/debian/cinder-common.postinst b/debian/cinder-common.postinst index 8045dbffb..0c89129eb 100644 --- a/debian/cinder-common.postinst +++ b/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