Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My opentack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My opentack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My opentack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My opentack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My opentack OpenStack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)

error installing nova-compute

I had a great cloud running, but some configuration changed and I removed nova-compute. I then attempted to reinstall it, but I'm getting an error I can't solve. Any help is greatly appreciated.

I'm running Ubuntu 12.04 and OpenStack Grizzly. My OpenStack source list is:

deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

This is the error:

sudo apt-get install nova-compute
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  nova-common nova-compute-kvm python-nova python-novaclient
The following NEW packages will be installed:
  nova-common nova-compute nova-compute-kvm python-nova python-novaclient
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,790 kB/2,816 kB of archives.
After this operation, 25.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-novaclient all 1:2.13.0-0ubuntu1~cloud0 [84.6 kB]
Get:2 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main python-nova all 1:2013.1.2-0ubuntu1~cloud0 [2,695 kB]
Get:3 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute-kvm all 1:2013.1.2-0ubuntu1~cloud0 [2,802 B]
Get:4 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main nova-compute all 1:2013.1.2-0ubuntu1~cloud0 [7,808 B]
Fetched 2,790 kB in 2s (1,132 kB/s)       
Selecting previously unselected package python-novaclient.
(Reading database ... 214746 files and directories currently installed.)
Unpacking python-novaclient (from .../python-novaclient_1%3a2.13.0-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package python-nova.
Unpacking python-nova (from .../python-nova_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-common.
Unpacking nova-common (from .../nova-common_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute-kvm.
Unpacking nova-compute-kvm (from .../nova-compute-kvm_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Selecting previously unselected package nova-compute.
Unpacking nova-compute (from .../nova-compute_1%3a2013.1.2-0ubuntu1~cloud0_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...
Setting up python-nova (1:2013.1.2-0ubuntu1~cloud0) ...
Setting up nova-common (1:2013.1.2-0ubuntu1~cloud0) ...
usermod: no changes
Command failed, please check log for more info
2013-07-29 16:33:55.589 7511 CRITICAL nova [-] <VerNum(83)>
2013-07-29 16:33:55.589 7511 TRACE nova Traceback (most recent call last):
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1263, in <module>
2013-07-29 16:33:55.589 7511 TRACE nova     main()
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 1255, in main
2013-07-29 16:33:55.589 7511 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/bin/nova-manage", line 798, in sync
2013-07-29 16:33:55.589 7511 TRACE nova     return migration.db_sync(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 32, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return IMPL.db_sync(version=version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 78, in db_sync
2013-07-29 16:33:55.589 7511 TRACE nova     return versioning_api.upgrade(get_engine(), repository, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
2013-07-29 16:33:55.589 7511 TRACE nova     return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2013-07-29 16:33:55.589 7511 TRACE nova   File "<string>", line 2, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 43, in patched_with_engine
2013-07-29 16:33:55.589 7511 TRACE nova     return f(*a, **kw)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 345, in _migrate
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = schema.changeset(version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 80, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changeset = self.repository.changeset(database, start_ver, version)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 225, in changeset
2013-07-29 16:33:55.589 7511 TRACE nova     changes = [self.version(v).script(database, op) for v in versions]
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/repository.py", line 189, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions.version(*p, **k)
2013-07-29 16:33:55.589 7511 TRACE nova   File "/usr/lib/python2.7/dist-packages/migrate/versioning/version.py", line 140, in version
2013-07-29 16:33:55.589 7511 TRACE nova     return self.versions[VerNum(vernum)]
2013-07-29 16:33:55.589 7511 TRACE nova KeyError: <VerNum(83)>
2013-07-29 16:33:55.589 7511 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-compute:
 nova-compute depends on nova-common (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-common is not configured yet.
dpkg: error processing nova-compute (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nova-compute-kvm:
 nova-compute-kvm depends on nova-compute (= 1:2013.1.2-0ubuntu1~cloud0); however:
  Package nova-compute is not configured yet.
dpkg: error processing nova-compute-kvm (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                 No apport report written because the error message indicates its a followup error from a previous failure.
                                  Errors were encountered while processing:
 nova-common
 nova-compute
 nova-compute-kvm
E: Sub-process /usr/bin/dpkg returned an error code (1)