[Bug 1095988] [NEW] nova-api-metadata update causing corruption
Launchpad Bug Tracker
1095988 at bugs.launchpad.net
Fri Jan 4 13:10:06 UTC 2013
You have been subscribed to a public bug:
root at folsom-compute:~# aptitude install nova-api-metadata
The following NEW packages will be installed:
nova-api-metadata nova-common{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.7 kB of archives. After unpacking 2,082 kB will be used.
Do you want to continue? [Y/n/?]
Selecting previously unselected package nova-common.
(Reading database ... 117308 files and directories currently installed.)
Unpacking nova-common (from .../nova-common_2012.2-0ubuntu5~cloud0_all.deb) ...
Selecting previously unselected package nova-api-metadata.
Unpacking nova-api-metadata (from .../nova-api-metadata_2012.2-0ubuntu5~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up nova-common (2012.2-0ubuntu5~cloud0) ...
usermod: no changes
2013-01-04 01:43:26 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc'> from (pid=4878) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:494
Command failed, please check log for more info
2013-01-04 01:43:26 CRITICAL nova [-] fixed_ips_backup.instance_id may not be NULL
2013-01-04 01:43:26 TRACE nova Traceback (most recent call last):
2013-01-04 01:43:26 TRACE nova File "/usr/bin/nova-manage", line 1400, in <module>
2013-01-04 01:43:26 TRACE nova main()
2013-01-04 01:43:26 TRACE nova File "/usr/bin/nova-manage", line 1387, in main
2013-01-04 01:43:26 TRACE nova fn(*fn_args, **fn_kwargs)
2013-01-04 01:43:26 TRACE nova File "/usr/bin/nova-manage", line 756, in sync
2013-01-04 01:43:26 TRACE nova return migration.db_sync(version)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-01-04 01:43:26 TRACE nova return IMPL.db_sync(version=version)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 79, in db_sync
2013-01-04 01:43:26 TRACE nova return versioning_api.upgrade(get_engine(), repository, version)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-01-04 01:43:26 TRACE nova return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-01-04 01:43:26 TRACE nova File "<string>", line 2, in _migrate
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 44, in patched_with_engine
2013-01-04 01:43:26 TRACE nova return f(*a, **kw)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 366, in _migrate
2013-01-04 01:43:26 TRACE nova schema.runchange(ver, change, changeset.step)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 91, in runchange
2013-01-04 01:43:26 TRACE nova change.run(self.engine, step)
2013-01-04 01:43:26 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/script/sql.py", line 41, in run
2013-01-04 01:43:26 TRACE nova dbapi.executescript(text)
2013-01-04 01:43:26 TRACE nova IntegrityError: fixed_ips_backup.instance_id may not be NULL
2013-01-04 01:43:26 TRACE nova
dpkg: error processing nova-common (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of nova-api-metadata:
nova-api-metadata depends on nova-common (= 2012.2-0ubuntu5~cloud0); however:
Package nova-common is not configured yet.
dpkg: error processing nova-api-metadata (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
nova-common
nova-api-metadata
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up nova-common (2012.2-0ubuntu5~cloud0) ...
usermod: no changes
2013-01-04 01:43:27 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.migration' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.pyc'> from (pid=4922) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:494
Command failed, please check log for more info
2013-01-04 01:43:27 CRITICAL nova [-] fixed_ips_backup.instance_id may not be NULL
2013-01-04 01:43:27 TRACE nova Traceback (most recent call last):
2013-01-04 01:43:27 TRACE nova File "/usr/bin/nova-manage", line 1400, in <module>
2013-01-04 01:43:27 TRACE nova main()
2013-01-04 01:43:27 TRACE nova File "/usr/bin/nova-manage", line 1387, in main
2013-01-04 01:43:27 TRACE nova fn(*fn_args, **fn_kwargs)
2013-01-04 01:43:27 TRACE nova File "/usr/bin/nova-manage", line 756, in sync
2013-01-04 01:43:27 TRACE nova return migration.db_sync(version)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-01-04 01:43:27 TRACE nova return IMPL.db_sync(version=version)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 79, in db_sync
2013-01-04 01:43:27 TRACE nova return versioning_api.upgrade(get_engine(), repository, version)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-01-04 01:43:27 TRACE nova return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-01-04 01:43:27 TRACE nova File "<string>", line 2, in _migrate
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 44, in patched_with_engine
2013-01-04 01:43:27 TRACE nova return f(*a, **kw)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 366, in _migrate
2013-01-04 01:43:27 TRACE nova schema.runchange(ver, change, changeset.step)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 91, in runchange
2013-01-04 01:43:27 TRACE nova change.run(self.engine, step)
2013-01-04 01:43:27 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/script/sql.py", line 41, in run
2013-01-04 01:43:27 TRACE nova dbapi.executescript(text)
2013-01-04 01:43:27 TRACE nova IntegrityError: fixed_ips_backup.instance_id may not be NULL
2013-01-04 01:43:27 TRACE nova
dpkg: error processing nova-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nova-api-metadata:
nova-api-metadata depends on nova-common (= 2012.2-0ubuntu5~cloud0); however:
Package nova-common is not configured yet.
dpkg: error processing nova-api-metadata (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nova-common
nova-api-metadata
The corruption is happening with nova-compute-kvm as well.
The release and repository information is as follows:
root at folsom-compute:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
root at folsom-compute:~# cat //etc/apt/sources.list.d/cloud-archive.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/folsom main
I appreciate any help in fixing this issue.
Thanks,
Srini
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
nova-api-metadata update causing corruption
https://bugs.launchpad.net/bugs/1095988
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu.
More information about the Ubuntu-server-bugs
mailing list