← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

nova-api failed to run on devstack master.

Version: master
Network: Neutron
Services: 
                 disable_service n-net n-novnc n-xvnc n-cauth horizon
                 enable_service neutron q-svc q-agt q-dhcp q-l3 q-meta q-lbaas
Mechanism driver: ml2
Pluging MD: openvswitch
OS: ubuntu 14.04


Devstack Error:
05:14:38 2014-12-08 03:14:38.555 | Waiting for nova-api to start...
05:14:38 2014-12-08 03:14:38.556 | + wait_for_service 60 http://10.209.32.236:8774
05:14:38 2014-12-08 03:14:38.556 | + local timeout=60
05:14:38 2014-12-08 03:14:38.556 | + local url=http://10.209.32.236:8774
05:14:38 2014-12-08 03:14:38.556 | + timeout 60 sh -c 'while ! curl -k --noproxy '\''*'\'' -s http://10.209.32.236:8774 >/dev/null; do sleep 1; done'
05:15:38 2014-12-08 03:15:38.558 | + die 701 'nova-api did not start'
05:15:38 2014-12-08 03:15:38.559 | + local exitcode=0
05:15:38 2014-12-08 03:15:38.559 | [Call Trace]
05:15:38 2014-12-08 03:15:38.559 | ./devstack/stack.sh:1224:start_nova_api
05:15:38 2014-12-08 03:15:38.559 | /jenkins/workspace/Check-MLNX-Neutron-ML2-driver/devstack/lib/nova:701:die
05:15:38 2014-12-08 03:15:38.566 | [ERROR] /jenkins/workspace/Check-MLNX-Neutron-ML2-driver/devstack/lib/nova:701 nova-api did not start
05:15:39 2014-12-08 03:15:39.570 | Error on exit

Nova API exception:
2014-12-08 18:35:34.893 126435 DEBUG oslo_concurrency.lockutils [-] Lock "iptables" released by "_apply" :: held N/A inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:442
2014-12-08 18:35:34.896 126435 CRITICAL nova [-] TypeError: __init__() got an unexpected keyword argument 'stop_func'
2014-12-08 18:35:34.896 126435 TRACE nova Traceback (most recent call last):
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
2014-12-08 18:35:34.896 126435 TRACE nova     sys.exit(main())
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 55, in main
2014-12-08 18:35:34.896 126435 TRACE nova     server = service.WSGIService(api, use_ssl=should_use_ssl)
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/service.py", line 331, in __init__
2014-12-08 18:35:34.896 126435 TRACE nova     self.manager = self._get_manager()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/service.py", line 383, in _get_manager
2014-12-08 18:35:34.896 126435 TRACE nova     return manager_class()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/api/manager.py", line 30, in __init__
2014-12-08 18:35:34.896 126435 TRACE nova     self.network_driver.metadata_accept()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 670, in metadata_accept
2014-12-08 18:35:34.896 126435 TRACE nova     iptables_manager.apply()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 438, in apply
2014-12-08 18:35:34.896 126435 TRACE nova     self._apply()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 425, in inner
2014-12-08 18:35:34.896 126435 TRACE nova     do_log=False, semaphores=semaphores, delay=delay):
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2014-12-08 18:35:34.896 126435 TRACE nova     return self.gen.next()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 381, in lock
2014-12-08 18:35:34.896 126435 TRACE nova     ext_lock.acquire(delay=delay)
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 195, in acquire
2014-12-08 18:35:34.896 126435 TRACE nova     do_acquire()
2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 143, in wrapper
2014-12-08 18:35:34.896 126435 TRACE nova     stop_func=functools.partial(never_stop, hg))
2014-12-08 18:35:34.896 126435 TRACE nova TypeError: __init__() got an unexpected keyword argument 'stop_func'

** 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/1400455

Title:
  nova-api did not start

Status in OpenStack Compute (Nova):
  New

Bug description:
  nova-api failed to run on devstack master.

  Version: master
  Network: Neutron
  Services: 
                   disable_service n-net n-novnc n-xvnc n-cauth horizon
                   enable_service neutron q-svc q-agt q-dhcp q-l3 q-meta q-lbaas
  Mechanism driver: ml2
  Pluging MD: openvswitch
  OS: ubuntu 14.04

  
  Devstack Error:
  05:14:38 2014-12-08 03:14:38.555 | Waiting for nova-api to start...
  05:14:38 2014-12-08 03:14:38.556 | + wait_for_service 60 http://10.209.32.236:8774
  05:14:38 2014-12-08 03:14:38.556 | + local timeout=60
  05:14:38 2014-12-08 03:14:38.556 | + local url=http://10.209.32.236:8774
  05:14:38 2014-12-08 03:14:38.556 | + timeout 60 sh -c 'while ! curl -k --noproxy '\''*'\'' -s http://10.209.32.236:8774 >/dev/null; do sleep 1; done'
  05:15:38 2014-12-08 03:15:38.558 | + die 701 'nova-api did not start'
  05:15:38 2014-12-08 03:15:38.559 | + local exitcode=0
  05:15:38 2014-12-08 03:15:38.559 | [Call Trace]
  05:15:38 2014-12-08 03:15:38.559 | ./devstack/stack.sh:1224:start_nova_api
  05:15:38 2014-12-08 03:15:38.559 | /jenkins/workspace/Check-MLNX-Neutron-ML2-driver/devstack/lib/nova:701:die
  05:15:38 2014-12-08 03:15:38.566 | [ERROR] /jenkins/workspace/Check-MLNX-Neutron-ML2-driver/devstack/lib/nova:701 nova-api did not start
  05:15:39 2014-12-08 03:15:39.570 | Error on exit

  Nova API exception:
  2014-12-08 18:35:34.893 126435 DEBUG oslo_concurrency.lockutils [-] Lock "iptables" released by "_apply" :: held N/A inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:442
  2014-12-08 18:35:34.896 126435 CRITICAL nova [-] TypeError: __init__() got an unexpected keyword argument 'stop_func'
  2014-12-08 18:35:34.896 126435 TRACE nova Traceback (most recent call last):
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
  2014-12-08 18:35:34.896 126435 TRACE nova     sys.exit(main())
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 55, in main
  2014-12-08 18:35:34.896 126435 TRACE nova     server = service.WSGIService(api, use_ssl=should_use_ssl)
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/service.py", line 331, in __init__
  2014-12-08 18:35:34.896 126435 TRACE nova     self.manager = self._get_manager()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/service.py", line 383, in _get_manager
  2014-12-08 18:35:34.896 126435 TRACE nova     return manager_class()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/api/manager.py", line 30, in __init__
  2014-12-08 18:35:34.896 126435 TRACE nova     self.network_driver.metadata_accept()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 670, in metadata_accept
  2014-12-08 18:35:34.896 126435 TRACE nova     iptables_manager.apply()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/opt/stack/nova/nova/network/linux_net.py", line 438, in apply
  2014-12-08 18:35:34.896 126435 TRACE nova     self._apply()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 425, in inner
  2014-12-08 18:35:34.896 126435 TRACE nova     do_log=False, semaphores=semaphores, delay=delay):
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
  2014-12-08 18:35:34.896 126435 TRACE nova     return self.gen.next()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 381, in lock
  2014-12-08 18:35:34.896 126435 TRACE nova     ext_lock.acquire(delay=delay)
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 195, in acquire
  2014-12-08 18:35:34.896 126435 TRACE nova     do_acquire()
  2014-12-08 18:35:34.896 126435 TRACE nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 143, in wrapper
  2014-12-08 18:35:34.896 126435 TRACE nova     stop_func=functools.partial(never_stop, hg))
  2014-12-08 18:35:34.896 126435 TRACE nova TypeError: __init__() got an unexpected keyword argument 'stop_func'

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


Follow ups

References