Mitaka -> Newton: Database online_data_migrations in newton fail due to missing keypairs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Smith | ||
Newton |
In Progress
|
Medium
|
Lee Yarwood | ||
Ocata |
Fix Released
|
Medium
|
Lee Yarwood |
Bug Description
Upgrading the deployment from Mitaka to Newton.
This bug blocks people from upgrading to Ocata because the database migration for nova fails.
Running nova newton 14.0.5, the database is 334
root@moby:/backups# nova-manage db online_
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
Running batches of 50 until complete
50 rows matched query migrate_flavors, 50 migrated
20 rows matched query migrate_flavors, 20 migrated
Error attempting to run <function migrate_
30 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
50 rows matched query migrate_
Error attempting to run <function migrate_
/usr/lib/
stacklevel=1,
50 rows matched query migrate_
2017-04-20 14:48:36.586 396 ERROR nova.objects.
5 rows matched query migrate_aggregates, 5 migrated
5 rows matched query migrate_
2 rows matched query delete_
Error attempting to run <function migrate_
50 rows matched query migrate_
2017-04-20 14:48:40.620 396 ERROR nova.objects.
root@moby:/backups#
Adding a 'raise' after https:/
you can see:
root@moby:/backups# nova-manage db online_
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
Running batches of 50 until complete
Error attempting to run <function migrate_
error: 'NoneType' object has no attribute 'key_name'
summary: |
- Database migrations from mitaka to newton fail due to missing keypairs + Database online_data_migrations in newton fail due to missing keypairs |
Changed in nova: | |
status: | New → Invalid |
summary: |
- Database online_data_migrations in newton fail due to missing keypairs + Mitaka -> Newton: Database online_data_migrations in newton fail due to + missing keypairs |
Changed in nova: | |
assignee: | nobody → Dan Smith (danms) |
status: | In Progress → Fix Released |
importance: | Undecided → Low |
importance: | Low → Medium |
This will probably happen to all those operators that in the upgrade Kilo to Liberty did follow this workaround here: /bugs.launchpad .net/nova/ +bug/1511466
https:/