]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove 'cinder-manage db sync' from cinder-common.postinst 12/6812/6
authorvsaienko <vsaienko@mirantis.com>
Fri, 12 Jun 2015 06:57:26 +0000 (09:57 +0300)
committervsaienko <vsaienko@mirantis.com>
Fri, 12 Jun 2015 06:58:40 +0000 (09:58 +0300)
Closes-Bug: #1422350

Change-Id: Ia9d045fd8360381f9900a998da7a761f95caf566

trusty/debian/changelog
trusty/debian/cinder-common.postinst

index c4263c8255aa6518c140969ddfb8c6c0423bf672..e1bbaacbecba93f27879c415498418387d9a21f6 100644 (file)
@@ -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 <vsaienko@mirantis.com>  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
index 8045dbffb5afd52d18908d4bfcddf3470f23fd55..0c89129eb6d47a5ad2df61cd25eda6a97d15dd4d 100644 (file)
@@ -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