]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Added a call to: neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade...
authorThomas Goirand <thomas@goirand.fr>
Mon, 5 Aug 2013 16:58:05 +0000 (18:58 +0200)
committerThomas Goirand <thomas@goirand.fr>
Mon, 5 Aug 2013 16:58:05 +0000 (18:58 +0200)
debian/neutron-common.postinst.in

index 0cc79c38d786ce866cf884bcb9ee4a7a5a77d8af..921b93368253c93ba88547b6574f7014aa1ee078 100644 (file)
@@ -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}