[openstack-dev] [neutron] questions on neutron-db-migrations

Ihar Hrachyshka ihrachys at redhat.com
Wed Jul 15 20:03:53 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/15/2015 07:17 PM, Madhusudhan Kandadai wrote:
> Hello,
> 
> I have noticed that neutron project got rid of 
> neutron/db/migration/alembic_migrations/versions/HEAD file and
> renamed it to
> neutron/db/migration/alembic_migrations/versions/HEADS
> 
> May I know the reason why this happened? I may have overlooked
> some documentation with respect to the change. I have a patch which
> is in merge conflicts and have a db upgrade with version "XXX" and
> I use that version in HEAD. When I upgrade them, I use
> neutron-db-manage --config-file /etc/neutron/neutron.conf
> --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head.
> 
> With this recent refactoring related to db, what needs to be done 
> in-order to upgrade db into neutron-db?
> 

Reasoning behind the change and some suggestions on how to proceed can
be found at:

http://lists.openstack.org/pipermail/openstack-dev/2015-July/069582.html

I will also update devref tomorrow as per suggestion from Salvatore
there, adding some examples on how to proceed.

Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVpryjAAoJEC5aWaUY1u57wtYIAOUlFNjOWQ29DMGV21URt6rJ
c+M4zzdoiw5/Vtj4sJl39cGrdJ9HGyUJLLu203j7fQdhe5/snOf6Vw8XeC0S8nk9
WzVtM0wbgJiKeG1uSNLMZTXWtpUfcX62X7fuUxibX6qDQVvMt5lJ86R4DROui8/v
v9fgJfP7uvARorad80qY06kYL6zZOtxBGQFAfzhCIex2WI8gla5t6BIq73PKh76T
pmxCL8fIM81JgCOpt/zKkg9r3A1D5XmVklxuh9etx2REKPtgqHNsdL3hPETLH8Bu
eM9G1HS7L5qMQAagN0Ge5lYbPXyATmsBu15PbqXhwp6YJeWnriSmCI5ssCG+0VI=
=Jlr0
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list