FFU command "openstack overcloud ffwd-upgrade run" failed with an unexpected keyword argument 'sqlite_db'

Solution In Progress - Updated -

Issue

  • openstack overcloud ffwd-upgrade run fails with an error similar to this one:
TASK [Extra migration for nova tripleo/+bug/1656791] ***************************
Friday 01 May 2020  18:16:37 -0700 (0:00:00.105)       0:12:04.918 ************
fatal: [overcloud-controller-0]: FAILED! => {"changed": true, "cmd": ["nova-manage", "db", "online_data_migrations"], "delta": "0:00:00.888000", "end": "2020-05-0
1 18:16:38.379165", "msg": "non-zero return code", "rc": 1, "start": "2020-05-01 18:16:37.491165", "stderr": "Traceback (most recent call last):\n  File \"/bin/no
va-manage\", line 6, in <module>\n    from nova.cmd.manage import main\n  File \"/usr/lib/python2.7/site-packages/nova/cmd/manage.py\", line 73, in <module>\n    
from nova.api.ec2 import ec2utils\n  File \"/usr/lib/python2.7/site-packages/nova/api/ec2/ec2utils.py\", line 25, in <module>\n    from nova import cache_utils\n 
 File \"/usr/lib/python2.7/site-packages/nova/cache_utils.py\", line 22, in <module>\n    import nova.conf\n  File \"/usr/lib/python2.7/site-packages/nova/conf/__
init__.py\", line 95, in <module>\n    database.register_opts(CONF)\n  File \"/usr/lib/python2.7/site-packages/nova/conf/database.py\", line 128, in register_opts
\n    sqlite_db='nova.sqlite')\nTypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'", "stderr_lines": ["Traceback (most recent call last):", 
"  File \"/bin/nova-manage\", line 6, in <module>", "    from nova.cmd.manage import main", "  File \"/usr/lib/python2.7/site-packages/nova/cmd/manage.py\", line 
73, in <module>", "    from nova.api.ec2 import ec2utils", "  File \"/usr/lib/python2.7/site-packages/nova/api/ec2/ec2utils.py\", line 25, in <module>", "    from
 nova import cache_utils", "  File \"/usr/lib/python2.7/site-packages/nova/cache_utils.py\", line 22, in <module>", "    import nova.conf", "  File \"/usr/lib/pyt
hon2.7/site-packages/nova/conf/__init__.py\", line 95, in <module>", "    database.register_opts(CONF)", "  File \"/usr/lib/python2.7/site-packages/nova/conf/data
base.py\", line 128, in register_opts", "    sqlite_db='nova.sqlite')", "TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'"], "stdout": "",
 "stdout_lines": []}


PLAY RECAP *********************************************************************
overcloud-contrailanalytics-0 : ok=77   changed=9    unreachable=0    failed=0
overcloud-contrailanalytics-1 : ok=61   changed=7    unreachable=0    failed=0
overcloud-contrailanalytics-2 : ok=61   changed=7    unreachable=0    failed=0
overcloud-contrailanalyticsdatabase-0 : ok=77   changed=9    unreachable=0    failed=0
overcloud-contrailanalyticsdatabase-1 : ok=61   changed=7    unreachable=0    failed=0
overcloud-contrailanalyticsdatabase-2 : ok=61   changed=7    unreachable=0    failed=0
overcloud-contrailcontroller-0 : ok=80   changed=9    unreachable=0    failed=0
overcloud-contrailcontroller-1 : ok=64   changed=7    unreachable=0    failed=0
overcloud-contrailcontroller-2 : ok=64   changed=7    unreachable=0    failed=0
overcloud-contrailcontrollerissu-0 : ok=76   changed=9    unreachable=0    failed=0
overcloud-contrailcontrollerissu-1 : ok=60   changed=7    unreachable=0    failed=0
overcloud-contrailcontrollerissu-2 : ok=60   changed=7    unreachable=0    failed=0
overcloud-contraildpdk-0   : ok=87   changed=14   unreachable=0    failed=0
overcloud-controller-0     : ok=125  changed=46   unreachable=0    failed=1
overcloud-controller-1     : ok=147  changed=43   unreachable=0    failed=0
overcloud-controller-2     : ok=147  changed=43   unreachable=0    failed=0
overcloud-novacompute-0    : ok=87   changed=14   unreachable=0    failed=0
overcloud-novacompute-1    : ok=71   changed=12   unreachable=0    failed=0

Friday 01 May 2020  18:38:47 -0700 (0:00:06.407)       0:34:14.859 ************
===============================================================================

Ansible failed, check log at /var/lib/mistral/d3dd6361-dbd1-4e9e-89a4-c197cde287ff/ansible.log.
Update failed with: Ansible failed, check log at /var/lib/mistral/d3dd6361-dbd1-4e9e-89a4-c197cde287ff/ansible.log.

Environment

  • Red Hat OpenStack Platform 10.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In