nova sqlite db migration failing for ocata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
nova/debian/
note: to recreate this requires sqlite connections to be set in nova.conf:
root@puppet-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
nova-common
0 upgraded, 1 newly installed, 0 to remove and 81 not upgraded.
Need to get 0 B/108 kB of archives.
After this operation, 443 kB of additional disk space will be used.
Selecting previously unselected package nova-common.
(Reading database ... 123343 files and directories currently installed.)
Preparing to unpack .../nova-
Unpacking nova-common (2:15.0.
Processing triggers for man-db (2.7.5-1) ...
Setting up nova-common (2:15.0.
ERROR: could not access cell mapping database - has api db been created?
An error has occurred:
Traceback (most recent call last):
File "/usr/lib/
ret = fn(*fn_args, **fn_kwargs)
File "/usr/lib/
return migration.
File "/usr/lib/
return IMPL.db_
File "/usr/lib/
repository, version)
File "/usr/lib/
return _migrate(url, repository, version, upgrade=True, err=err, **opts)
File "<decorator-
File "/usr/lib/
return f(*a, **kw)
File "/usr/lib/
schema.
File "/usr/lib/
change.
File "/usr/lib/
script_
File "/usr/lib/
raise exception.
ValidationError: Migration cannot continue until all these have been migrated to the api database. Please run `nova-manage db online_migrations' on Newton code before continuing.There are still 5 unmigrated flavors.
dpkg: error processing package nova-common (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
nova-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
Status changed to 'Confirmed' because the bug affects multiple users.