settingsLogin | Registersettings

[openstack-dev] postgresql fails mitaka -> newton migrations on nova

0 votes

I've found two possible bugs, one with the onlinedatamigrations and
one after services are started again (ignoring the onlinedatamigration
failures).

The onlinedatamigration bug is located at:
https://bugs.launchpad.net/nova/+bug/1630446

The post non-migration bug is located at:
https://bugs.launchpad.net/nova/+bug/1630448

At the moment I think the first bug is likely the cause of the second
bug, but don't have enough info to verify or fix it.

--
Matthew Thode (prometheanfire)


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
asked Oct 5, 2016 in openstack-dev by prometheanfire_at_ge (6,880 points)   1 4 5
retagged Jan 26, 2017 by admin

1 Response

0 votes

Le 05/10/2016 08:18, Matthew Thode a écrit :

I've found two possible bugs, one with the onlinedatamigrations and
one after services are started again (ignoring the onlinedatamigration
failures).

The onlinedatamigration bug is located at:
https://bugs.launchpad.net/nova/+bug/1630446

The post non-migration bug is located at:
https://bugs.launchpad.net/nova/+bug/1630448

At the moment I think the first bug is likely the cause of the second
bug, but don't have enough info to verify or fix it.

Are you sure you also ran the nova-manage api_db sync before doing the
db migrations ?

Most of the errors you got are because all those tables were migrated
from the 'legacy' DB (now called cell DB) to the API DB, and you need to
wrap it up.

Eg. for instance groups :
https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions/018_instance_groups.py

Replying to bugs anyway.

-Sylvain


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Oct 5, 2016 by Sylvain_Bauza (14,100 points)   1 3 6
...