[openstack-dev] [Neutron] backporting database migrations to stable/havana

Thierry Carrez thierry at openstack.org
Wed Feb 5 10:31:55 UTC 2014


Ralf Haferkamp wrote:
> I am currently trying to backport the fix for
> https://launchpad.net/bugs/1254246 to stable/havana. The current state of that
> is here: https://review.openstack.org/#/c/68929/
> 
> However, the fix requires a database migration to be applied (to add a unique
> constraint to the agents table). And the current fix linked above will AFAIK
> break havana->icehouse migrations. So I wonder what would be the correct way to
> do backport database migrations in neutron using alembic? Is there even a
> correct way, or are backports of database migrations a no go?

FWIW our StableBranch policy[1] generally forbids DB schema changes in
stable branches.

[1] https://wiki.openstack.org/wiki/StableBranch

-- 
Thierry Carrez (ttx)



More information about the OpenStack-dev mailing list