From 8d0b740cfc0d4366706253df91fbde8ff8409787 Mon Sep 17 00:00:00 2001 From: Maksym Yatsenko Date: Fri, 27 Feb 2015 17:32:46 +0200 Subject: [PATCH] Remove "cinder-manage db sync" from "cinder-common.postinst" Closes-Bug:#1422350 Change-Id: I0676bb441bf85f4df7ec44ce9e28cc4535f20569 --- 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