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
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?
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: connection mysql+pymysql: //root: stackdb@ 127.0.0. 1/testdb? charset= utf8 upgrade heads
$ neutron-db-manage --database-
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