← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1741001] Re: Got an unexpected keyword argument when starting nova-api

 

This was the related nova change:

https://github.com/openstack/nova/commit/409d7db21e2d7faf0bbf76f982a3403c79897e4f
#diff-8fec546e4c39f78d233f8e21dadaa3ff

** Changed in: nova
       Status: New => Invalid

-- 
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/1741001

Title:
  Got an unexpected keyword argument when starting nova-api

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Description
  ===========
  After upgrading oslo.db, nova-api service was started failed.

  Steps to reproduce
  ==================
  * pip install oslo.db==4.24.0
  * start nova-api service is OK
  * `pip install upgrade oslo.db` to 4.32.0
  * failed to start nova-api 

  Expected result
  ===============
  In the requirement.txt, oslo.db >= 4.24.0.
  But at version 4.32.0(latest), got 'unexpected keyword' error.

  Actual result
  =============
  'nova-api' is running OK.

  Environment
  ===========
  1. nova version
  # rpm -qa | grep nova
  openstack-nova-console-16.0.3-2.el7.noarch
  openstack-nova-common-16.0.3-2.el7.noarch
  python2-novaclient-9.1.1-1.el7.noarch
  openstack-nova-scheduler-16.0.3-2.el7.noarch
  openstack-nova-api-16.0.3-2.el7.noarch
  openstack-nova-placement-api-16.0.3-2.el7.noarch
  python-nova-16.0.3-2.el7.noarch
  openstack-nova-conductor-16.0.3-2.el7.noarch
  openstack-nova-novncproxy-16.0.3-2.el7.noarch

  Logs & Configs
  ==============
  Jan  3 06:59:13 host-172-23-59-134 systemd: Starting OpenStack Nova API Server...
  Jan  3 06:59:16 host-172-23-59-134 nova-api: Traceback (most recent call last):
  Jan  3 06:59:16 host-172-23-59-134 nova-api: File "/usr/bin/nova-api", line 6, in <module>
  Jan  3 06:59:16 host-172-23-59-134 nova-api: from nova.cmd.api import main
  Jan  3 06:59:16 host-172-23-59-134 nova-api: File "/usr/lib/python2.7/site-packages/nova/cmd/api.py", line 29, in <module>
  Jan  3 06:59:16 host-172-23-59-134 nova-api: from nova import config
  Jan  3 06:59:16 host-172-23-59-134 nova-api: File "/usr/lib/python2.7/site-packages/nova/config.py", line 23, in <module>
  Jan  3 06:59:16 host-172-23-59-134 nova-api: from nova.db.sqlalchemy import api as sqlalchemy_api
  Jan  3 06:59:16 host-172-23-59-134 nova-api: File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 925, in <module>
  Jan  3 06:59:16 host-172-23-59-134 nova-api: retry_on_request=True)
  Jan  3 06:59:16 host-172-23-59-134 nova-api: TypeError: __init__() got an unexpected keyword argument 'retry_on_request'
  Jan  3 06:59:16 host-172-23-59-134 systemd: openstack-nova-api.service: main process exited, code=exited, status=1/FAILURE

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


References