n-api fails to start on juno grenade

Bug #1428821 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Matt Riedemann
Icehouse
Fix Released
Critical
Unassigned

Bug Description

possibly related to this: https://github.com/openstack/nova/commit/a657582c5cd8a39580c44ad401fd3e69870068b1

grenade tests are not passing due to n-api not starting

logs here: http://logs.openstack.org/56/161256/1/check/check-grenade-dsvm/6fb9bfa/logs/

from n-api log:

2015-03-05 14:04:34.874 10501 INFO nova.openstack.common.service [-] Started child 10508
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
TypeError: server() got an unexpected keyword argument 'socket_timeout'
2015-03-05 14:04:34.876 10501 INFO nova.openstack.common.service [-] Started child 10509
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
TypeError: server() got an unexpected keyword argument 'socket_timeout'
2015-03-05 14:04:34.878 10501 INFO nova.openstack.common.service [-] Started child 10510
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 346, in fire_timers
    timer()
  File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56, in __call__
    cb(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
    result = function(*args, **kwargs)
TypeError: server() got an unexpected keyword argument 'socket_timeout'

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/161863

Revision history for this message
Matt Riedemann (mriedem) wrote :

We can't increase the minimum required version of eventlet in global-requirements on stable/icehouse b/c that will break distros that have shipped their supported versions of eventlet for icehouse, so we just can't have this change on icehouse since we could be using a version of eventlet that doesn't support the socket_timeout kwarg.

Matt Riedemann (mriedem)
Changed in nova:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Joe Gordon (jogo) wrote :

Icehouse job on precise:

http://logs.openstack.org/11/138811/2/gate/gate-tempest-dsvm-full/ac4e165/logs/devstacklog.txt.gz#_2015-03-05_00_29_06_531

python-eventlet all 0.9.16-1ubuntu4.2 [283 kB]

Icehouse -> Juno Grenade job in Trusty:

http://logs.openstack.org/56/161256/1/check/check-grenade-dsvm/6fb9bfa/logs/old/devstacklog.txt.gz#_2015-03-05_14_00_27_638

/python-eventlet_0.13.0-1ubuntu2_all.deb

icehouse global-requirments: 'eventlet': 'eventlet>=0.13.0,<0.16.0'

On Trusty, we just use the deb based eventlet, but on precise its too old so we need a newer version so pip installs

2015-03-05 00:30:22.732 | Collecting eventlet<0.16.0,>=0.13.0 (from keystone==2014.1.4.dev15)
2015-03-05 00:30:22.813 | Downloading http://pypi.region-b.geo-1.openstack.org/packages/2.7/e/eventlet/eventlet-0.15.2-py2.py3-none-any.whl (150kB)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/161863
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=07ec12c40cdeea8bf4d8617d408cbf6189f76e2b
Submitter: Jenkins
Branch: stable/icehouse

commit 07ec12c40cdeea8bf4d8617d408cbf6189f76e2b
Author: Matt Riedemann <email address hidden>
Date: Thu Mar 5 19:53:22 2015 +0000

    Revert "Eventlet green threads not released back to pool"

    This reverts commit a657582c5cd8a39580c44ad401fd3e69870068b1

    The minimum required version of eventlet does not work for the
    socket_timeout usage here:

    eventlet>=0.13.0,<0.16.0

    Closes-Bug: #1428821

    Change-Id: Iece034c6a055c70bc2f617a1eee1a8541ff65db1

tags: added: in-stable-icehouse
Joe Gordon (jogo)
Changed in nova:
status: In Progress → Invalid
importance: Critical → Undecided
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.