From: Thomas Goirand Date: Mon, 5 Aug 2013 16:58:05 +0000 (+0200) Subject: Added a call to: neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade... X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a2845e3de1210d6df13ab3aa7d9296611d5d4750;p=openstack-build%2Fneutron-build.git Added a call to: neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade head (in postinst for neutron-common) Rewritten-From: 44235577f53242125d001415e6bc0b4de5440884 --- diff --git a/xenial/debian/neutron-common.postinst.in b/xenial/debian/neutron-common.postinst.in index 0cc79c38d..921b93368 100644 --- a/xenial/debian/neutron-common.postinst.in +++ b/xenial/debian/neutron-common.postinst.in @@ -86,6 +86,9 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then # Set the sql_connection directive pkgos_dbc_postinst --suite neutron ${N_CONF} database connection neutron $@ + # Migrating to latest release of the db + neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade head + # Maintain the OVS config if [ ! -e ${OVS_CONF} ] ; then install -D -m 0640 -o neutron -g neutron /usr/share/neutron-common/ovs_neutron_plugin.ini ${OVS_CONF}