nova-compute can't be setting up during install on trusty

Bug #1264815 reported by Ming Lei
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova (Ubuntu)
Fix Released
High
Unassigned

Bug Description

1, during install:
Setting up nova-compute (1:2014.1~b1-0ubuntu2) ...
start: Job failed to start
invoke-rc.d: initscript nova-compute, action "start" failed.
dpkg: error processing nova-compute (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up nova-compute-kvm (1:2014.1~b1-0ubuntu2) ...
Errors were encountered while processing:
 nova-compute
E: Sub-process /usr/bin/dpkg returned an error code (1)

2, the system is latest trusty:
ming@arm64:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  dnsmasq-utils iputils-arping libboost-system1.53.0 libboost-thread1.53.0
  libclass-isa-perl libopts25 libswitch-perl ttf-dejavu-core
Use 'apt-get autoremove' to remove them.
The following packages have been kept back:
  checkbox-cli
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

3, looks /usr/bin/nova-compute can't be started:
ming@arm64:~$ nova-compute
2013-12-12 17:57:19.992 13823 ERROR stevedore.extension [-] Could not load 'file': (WebOb 1.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('WebOb>=1.2.3,<1.3'))
2013-12-12 17:57:19.993 13823 ERROR stevedore.extension [-] (WebOb 1.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('WebOb>=1.2.3,<1.3'))
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension Traceback (most recent call last):
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 134, in _load_plugins
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension invoke_kwds,
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 146, in _load_one_plugin
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension plugin = ep.load()
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2107, in load
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension if require: self.require(env, installer)
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2120, in require
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension working_set.resolve(self.dist.requires(self.extras),env,installer)))
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 580, in resolve
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension raise VersionConflict(dist,req) # XXX put more info here
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension VersionConflict: (WebOb 1.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('WebOb>=1.2.3,<1.3'))
2013-12-12 17:57:19.993 13823 TRACE stevedore.extension
2013-12-12 17:57:20.133 13823 ERROR nova.virt.driver [-] Compute driver option required, but not specified

Tags: hs-arm64
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

The workaround that's been identified is to download and install python-webob_1.2.3.

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

This issue has also been observed on x86 (as Ming and Oleg were trying to set up an x86 controller node). So, we do not believe it is ARM or ARMv8 specific...

tags: added: hs-arm64
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The current version of webob in trusty is newer than the version you say (in comment #1) fixes it. Are you saying that this is a regression in python-webob and one needs to downgrade to fix it, or am I misunderstanding?

Changed in nova (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Revision history for this message
Ming Lei (tom-leiming) wrote :

Serge,

I need to downgrade python-webob to 1.2.3 manually for working around the problem.

Thanks,

Changed in nova (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

This will be fixed in the next update.

Changed in nova (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

Great! Many thanks Chuck :-)

James Page (james-page)
Changed in nova (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.