]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove "cinder-manage db sync" from "cinder-common.postinst" 06/6806/1 openstack-ci/fuel-6.1/2014.2
authorMaksym Yatsenko <myatsenko@mirantis.com>
Tue, 19 May 2015 16:08:13 +0000 (19:08 +0300)
committerMaksym Yatsenko <myatsenko@mirantis.com>
Tue, 19 May 2015 16:10:33 +0000 (19:10 +0300)
 Closes-Bug:#1422350

Change-Id: I44dab3cbe9abf28c10e8f63bfc1f17dc8fb518a4

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

index 9d145ec5de62b4cb37feff0f3020573aebd89dc1..be1d872fab0aa8ccd4fe170ffbcf81c1b19877d6 100644 (file)
@@ -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 <myatsenko@mirantis.com>  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:
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