neutron-db-manage --autogenerate needs update after DB healing

Bug #1346638 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Henry Gessau

Bug Description

Now that the DB is healed, neutron-db-manage revision --autogenerate needs to be updated.
The template should do unconditional upgrade/downgrade.
The env.py should include all models from head to compare against the schema.

Tags: db
Henry Gessau (gessau)
tags: added: db
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/108536

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
status: New → In Progress
Changed in neutron:
assignee: Kevin Benton (kevinbenton) → nobody
Revision history for this message
Henry Gessau (gessau) wrote :

Jakub Libosvar is working on this bug.

Changed in neutron:
assignee: nobody → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Kevin Benton (<email address hidden>) on branch: master
Review: https://review.openstack.org/108536
Reason: I made a grave mistake and assumed someone else wasn't working on this bug.

Changed in neutron:
assignee: Henry Gessau (gessau) → Jakub Libosvar (libosvar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/108700

Akihiro Motoki (amotoki)
Changed in neutron:
importance: Undecided → Medium
milestone: none → juno-3
Changed in neutron:
assignee: Jakub Libosvar (libosvar) → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/108700
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9ea42f50d3136885ffb1f7b23a7d831165f25247
Submitter: Jenkins
Branch: master

commit 9ea42f50d3136885ffb1f7b23a7d831165f25247
Author: Jakub Libosvar <email address hidden>
Date: Tue Jul 22 10:45:52 2014 +0200

    Change autogenerate to be unconditional

    Template for generating db migration scripts are now not run according
    to used plugins. Target environment is set to use all available models
    but also used plugins are kept for backward compatibility.

    Part of this patch is script that will drop unused tables to avoid
    generating the drop in future migration scripts.

    Change-Id: I90a7d3416de24f2317ccdeb828bb8bd973ee5e61
    Closes-bug: #1346638

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.