https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/018_instance_groups.py is not executed by nova-manage db sync but rather nova-manage api_db sync which is for populating the API DB.
FWIW, we added instance_uuid in https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/013_build_request_extended_attrs.py
The right workflow is : - nova-manage db sync && nova-manage api_db sync - nova-manage db migrations
Closing it as Invalid, this is a deployment issue.
https:/ /github. com/openstack/ nova/blob/ master/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 018_instance_ groups. py is not executed by nova-manage db sync but rather nova-manage api_db sync which is for populating the API DB.
FWIW, we added instance_uuid in https:/ /github. com/openstack/ nova/blob/ master/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 013_build_ request_ extended_ attrs.py
The right workflow is :
- nova-manage db sync && nova-manage api_db sync
- nova-manage db migrations
Closing it as Invalid, this is a deployment issue.