python-nova package should version its dependency on python-eventlet

Bug #1226610 reported by Guillermo Ontañón
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
Undecided
Unassigned
Grizzly
Triaged
Low
Unassigned
Havana
Fix Released
Undecided
Unassigned

Bug Description

python-nova should specifically depend on the python-eventlet found in the Ubuntu Cloud archive, otherwise version 0.9.16 from precise will satisfy the dependency. nova-api fails to start with python-eventlet 0.9.16:

2013-09-17 13:05:46.630 29302 INFO nova.wsgi [-] ec2 listening on 0.0.0.0:8773
2013-09-17 13:05:46.630 29302 INFO nova.service [-] Starting 1 workers
2013-09-17 13:05:46.632 29302 INFO nova.service [-] Started child 29307
2013-09-17 13:05:46.637 29307 ERROR nova.service [-] Unhandled exception
2013-09-17 13:05:46.637 29307 TRACE nova.service Traceback (most recent call last):
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/nova/service.py", line 307, in _start_child
2013-09-17 13:05:46.637 29307 TRACE nova.service self._child_process(wrap.server)
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/nova/service.py", line 284, in _child_process
2013-09-17 13:05:46.637 29307 TRACE nova.service launcher.run_server(server)
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/nova/service.py", line 148, in run_server
2013-09-17 13:05:46.637 29307 TRACE nova.service server.wait()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/nova/service.py", line 666, in wait
2013-09-17 13:05:46.637 29307 TRACE nova.service self.server.wait()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 223, in wait
2013-09-17 13:05:46.637 29307 TRACE nova.service self._server.wait()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
2013-09-17 13:05:46.637 29307 TRACE nova.service return self._exit_event.wait()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-09-17 13:05:46.637 29307 TRACE nova.service return hubs.get_hub().switch()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
2013-09-17 13:05:46.637 29307 TRACE nova.service return self.greenlet.switch()
2013-09-17 13:05:46.637 29307 TRACE nova.service File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
2013-09-17 13:05:46.637 29307 TRACE nova.service result = function(*args, **kwargs)
2013-09-17 13:05:46.637 29307 TRACE nova.service TypeError: server() got an unexpected keyword argument 'url_length_limit'

System and packages info:

root@qa-os-1:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"

root@qa-os-1:~# cat /etc/apt/sources.list.d/ubuntucloud.list
deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly main

root@qa-os-1:~# dpkg -l nova-api
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================================-==================================-====================================================================================
ii nova-api 1:2013.1.2-0ubuntu1~cloud0 OpenStack Compute - API frontend
root@qa-os-1:~# dpkg -l python-nova
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==================================-==================================-====================================================================================
ii python-nova 1:2013.1.2-0ubuntu1~cloud0 OpenStack Compute Python libraries

root@qa-os-1:~# apt-cache policy python-eventlet
python-eventlet:
  Installed: 0.12.1-0ubuntu1~cloud0
  Candidate: 0.12.1-0ubuntu1~cloud0
  Version table:
 *** 0.12.1-0ubuntu1~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/grizzly/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.16-1ubuntu4.2 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
     0.9.16-1ubuntu4 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Revision history for this message
James Page (james-page) wrote :

Fixed for Havana Cloud Archive.

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.