← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400211] [NEW] nova-api did not start

 

Public bug reported:

When i tried to install openstack using devstack on our CI setup, I got
the following error for many builds:

2014-12-08 05:52:10.884 CRITICAL nova [-] TypeError: __init__() got an unexpected keyword argument 'stop_func'

2014-12-08 05:52:10.884 TRACE nova Traceback (most recent call last):
2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
2014-12-08 05:52:10.884 TRACE nova     sys.exit(main())
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 55, in main
2014-12-08 05:52:10.884 TRACE nova     server = service.WSGIService(api, use_ssl=should_use_ssl)
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/service.py", line 331, in __init__
2014-12-08 05:52:10.884 TRACE nova     self.manager = self._get_manager()
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/service.py", line 383, in _get_manager
2014-12-08 05:52:10.884 TRACE nova     return manager_class()
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/api/manager.py", line 30, in __init__
2014-12-08 05:52:10.884 TRACE nova     self.network_driver.metadata_accept()
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 669, in metadata_accept
2014-12-08 05:52:10.884 TRACE nova     iptables_manager.apply()
2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 437, in apply
2014-12-08 05:52:10.884 TRACE nova     self._apply()
2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 425, in inner
2014-12-08 05:52:10.884 TRACE nova     do_log=False, semaphores=semaphores, delay=delay):
2014-12-08 05:52:10.884 TRACE nova   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2014-12-08 05:52:10.884 TRACE nova     return self.gen.next()
2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 381, in lock
2014-12-08 05:52:10.884 TRACE nova     ext_lock.acquire(delay=delay)
2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 195, in acquire
2014-12-08 05:52:10.884 TRACE nova     do_acquire()
2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 143, in wrapper
2014-12-08 05:52:10.884 TRACE nova     stop_func=functools.partial(never_stop, hg))
2014-12-08 05:52:10.884 TRACE nova TypeError: __init__() got an unexpected keyword argument 'stop_func'
2014-12-08 05:52:10.884 TRACE nova 
2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
2014-12-08 05:52:11.106 INFO nova.wsgi [-] Stopping WSGI server.
2014-12-08 05:52:11.106 INFO nova.wsgi [-] WSGI server has stopped.
2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
2014-12-08 05:52:11.106 INFO nova.wsgi [-] Stopping WSGI server.
2014-12-08 05:52:11.107 INFO nova.wsgi [-] Stopping WSGI server.
2014-12-08 05:52:11.107 INFO nova.wsgi [-] WSGI server has stopped.
2014-12-08 05:52:11.107 INFO nova.wsgi [-] WSGI server has stopped.
2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
2014-12-08 05:52:11.110 INFO nova.wsgi [-] Stopping WSGI server.
2014-12-08 05:52:11.111 INFO nova.wsgi [-] WSGI server has stopped.
n-api failed to start

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1400211

Title:
  nova-api did not start

Status in OpenStack Compute (Nova):
  New

Bug description:
  When i tried to install openstack using devstack on our CI setup, I
  got the following error for many builds:

  2014-12-08 05:52:10.884 CRITICAL nova [-] TypeError: __init__() got an unexpected keyword argument 'stop_func'
  
  2014-12-08 05:52:10.884 TRACE nova Traceback (most recent call last):
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
  2014-12-08 05:52:10.884 TRACE nova     sys.exit(main())
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 55, in main
  2014-12-08 05:52:10.884 TRACE nova     server = service.WSGIService(api, use_ssl=should_use_ssl)
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/service.py", line 331, in __init__
  2014-12-08 05:52:10.884 TRACE nova     self.manager = self._get_manager()
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/service.py", line 383, in _get_manager
  2014-12-08 05:52:10.884 TRACE nova     return manager_class()
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/api/manager.py", line 30, in __init__
  2014-12-08 05:52:10.884 TRACE nova     self.network_driver.metadata_accept()
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 669, in metadata_accept
  2014-12-08 05:52:10.884 TRACE nova     iptables_manager.apply()
  2014-12-08 05:52:10.884 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 437, in apply
  2014-12-08 05:52:10.884 TRACE nova     self._apply()
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 425, in inner
  2014-12-08 05:52:10.884 TRACE nova     do_log=False, semaphores=semaphores, delay=delay):
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
  2014-12-08 05:52:10.884 TRACE nova     return self.gen.next()
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 381, in lock
  2014-12-08 05:52:10.884 TRACE nova     ext_lock.acquire(delay=delay)
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 195, in acquire
  2014-12-08 05:52:10.884 TRACE nova     do_acquire()
  2014-12-08 05:52:10.884 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 143, in wrapper
  2014-12-08 05:52:10.884 TRACE nova     stop_func=functools.partial(never_stop, hg))
  2014-12-08 05:52:10.884 TRACE nova TypeError: __init__() got an unexpected keyword argument 'stop_func'
  2014-12-08 05:52:10.884 TRACE nova 
  2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
  2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
  2014-12-08 05:52:11.106 INFO nova.wsgi [-] Stopping WSGI server.
  2014-12-08 05:52:11.106 INFO nova.wsgi [-] WSGI server has stopped.
  2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
  2014-12-08 05:52:11.106 INFO nova.wsgi [-] Stopping WSGI server.
  2014-12-08 05:52:11.107 INFO nova.wsgi [-] Stopping WSGI server.
  2014-12-08 05:52:11.107 INFO nova.wsgi [-] WSGI server has stopped.
  2014-12-08 05:52:11.107 INFO nova.wsgi [-] WSGI server has stopped.
  2014-12-08 05:52:11.106 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting
  2014-12-08 05:52:11.110 INFO nova.wsgi [-] Stopping WSGI server.
  2014-12-08 05:52:11.111 INFO nova.wsgi [-] WSGI server has stopped.
  n-api failed to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1400211/+subscriptions


Follow ups

References