diff -Nru nova-14.0.7/debian/changelog nova-14.0.7/debian/changelog --- nova-14.0.7/debian/changelog 2017-08-10 04:51:26.000000000 -0400 +++ nova-14.0.7/debian/changelog 2017-08-29 16:09:54.000000000 -0300 @@ -1,3 +1,10 @@ +nova (2:14.0.7-0ubuntu2~cloud1) xenial; urgency=medium + + * d/nova-common.postinst: Don't sync database if connection is not defined + in /etc/nova/nova.conf (LP: #1713059). + + -- Felipe Reyes Tue, 29 Aug 2017 16:09:54 -0300 + nova (2:14.0.7-0ubuntu2~cloud0) xenial; urgency=medium * d/control: Drop Conflicts: nova-api for nova-placement-api binary diff -Nru nova-14.0.7/debian/nova-common.postinst nova-14.0.7/debian/nova-common.postinst --- nova-14.0.7/debian/nova-common.postinst 2017-08-10 04:51:26.000000000 -0400 +++ nova-14.0.7/debian/nova-common.postinst 2017-08-29 16:09:49.000000000 -0300 @@ -48,8 +48,7 @@ chown root:root /etc/nova/rootwrap.d chmod 0755 /etc/nova/rootwrap.d - if ! grep -qE "^(sql_)?connection( )?=.*" /etc/nova/nova.conf || \ - grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf + if grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf then su -s /bin/sh -c 'nova-manage db sync' nova fi