Update instructions for database migration with additional steps that may be needed

Bug #1197570 reported by Henry Gessau
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Henry Gessau

Bug Description

These instructions

https://wiki.openstack.org/wiki/Neutron/DatabaseMigration

(and the README referred to therein) do not mention that backend-specific methods will be generated in the migration script, and that the developer must replace them with sa.* abstract methods.

Changed in neutron:
importance: Undecided → Low
status: New → Triaged
tags: added: low-hanging-fruit
yelu (yeluaiesec)
Changed in neutron:
assignee: nobody → yelu (yeluaiesec)
Revision history for this message
Sean M. Collins (scollins) wrote :

Does anyone use the automatic migration? I found it more difficult to use than just writing a migration script from scratch - since you have to go through and replace everything with sa.* methods - it may end up costing more time than it saves?

Changed in neutron:
assignee: yelu (yeluaiesec) → Ann Kamyshnikova (akamyshnikova)
Changed in neutron:
assignee: Ann Kamyshnikova (akamyshnikova) → Akanksha (akanksha-aha)
goocher (farmerworking)
Changed in neutron:
status: Triaged → In Progress
goocher (farmerworking)
Changed in neutron:
status: In Progress → Confirmed
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

We no longer keep this info in the wiki.

tags: added: doc
removed: documentation
Changed in neutron:
status: Confirmed → Invalid
assignee: Akanksha (akanksha-aha) → nobody
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Changed in neutron:
assignee: nobody → Henry Gessau (gessau)
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

@Henry: can you check if this is still relevant?

Revision history for this message
Henry Gessau (gessau) wrote :

I will close it with a doc update soon.

Changed in neutron:
status: Invalid → In Progress
Henry Gessau (gessau)
tags: added: db
Changed in neutron:
milestone: none → mitaka-1
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/242868

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/242868
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=468de2d767b6cc984fa4fc3b150721368f889a77
Submitter: Jenkins
Branch: master

commit 468de2d767b6cc984fa4fc3b150721368f889a77
Author: Henry Gessau <email address hidden>
Date: Thu Nov 5 11:47:13 2015 -0500

    More instructions for neutron-db-manage revision --autogenerate

    More detailed instructions for --autogenerate, including how to rely
    less on devstack. Also some tweaks to scripts and requirements to
    simplify the process.

    Closes-Bug: #1197570

    Change-Id: I97043b30a8df7408a73af38c6a015fc0dcf82571

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b1

This issue was fixed in the openstack/neutron 8.0.0.0b1 development milestone.

Changed in neutron:
status: Fix Committed → Fix Released
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.