Comment 4 for bug 1932373

Revision history for this message
Lajos Katona (lajos-katona) wrote :

I tried to manually reproduce the issue with migration on mysql:
1.) Created a test db (from [0]):
mysql> drop database testdb; create database testdb;

2.) used Rocky from neutron and neutron-lib and run neutron-db-manage to test-db

$ neutron-db-manage --database-connection mysql+pymysql://root:stackdb@127.0.0.1/testdb?charset=utf8 upgrade heads

3.) I changed neutron to 17.0.0 & neutron-lib to Victoria and do the same:
$ neutron-db-manage --database-connection mysql+pymysql://root:stackdb@127.0.0.1/testdb?charset=utf8 upgrade heads

Exactly how often this issue comes in Your environment?

[0] https://docs.openstack.org/neutron/latest/contributor/alembic_migrations.html#running-neutron-db-manage-without-devstack