Description of problem: The rhelosp-13.0-puddle repository contains openstack-nova-17.0.0-0.20171206190932.cbdc893.el7ost and python-keystoneauth1-3.1.0-1.el7ost During the UnderCloud update from OSP12 to 13, the nova-manage db online_data_migrations fails with the following traceback: File "/usr/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 78, 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/python2.7/site-packages/nova/conf/__init__.py", line 91, in <module> glance.register_opts(CONF) File "/usr/lib/python2.7/site-packages/nova/conf/glance.py", line 154, in register_opts deprecated_opts=deprecated_ksa_opts) File "/usr/lib/python2.7/site-packages/nova/conf/utils.py", line 83, in register_ksa_opts default_service_type, deprecated_opts=deprecated_opts), group=group) File "/usr/lib/python2.7/site-packages/nova/conf/utils.py", line 37, in get_ksa_adapter_opts deprecated_opts=deprecated_opts) File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/adapter.py", line 217, in get_conf_options return Adapter.get_conf_options(*args, **kwargs) TypeError: get_conf_options() got an unexpected keyword argument 'deprecated_opts' My guess is that python-keystoneauth1 needs updating Version-Release number of selected component (if applicable): python-keystoneauth1-3.1.0-1.el7ost
Moving back to DFG:Upgrades to test since it's in the puddle. This type of update, as long as it's in the RDO promotion, should happen automatically as we progress. The latest puddle has 3.3.0
Created attachment 1383498 [details] full trace from openstack undercloud upgrade o/ had a look since I hit this on my OSP12 beaker box. The error is happening here https://github.com/openstack/instack-undercloud/blob/cea0211ea6de152f8ffad4846188ce727a152e34/instack_undercloud/undercloud.py#L1963 which is "nova-manage db online_data_migrations". Adding DFG:Compute to the Internal whiteboard and adding needinfo on the TC to see if they have any ideas (e.g. is this a known thing and indeed an outdated python-keystoneauth is the problem?). Trying this tody I got python-keystoneauth1-3.1.0-1.el7ost.noarch with latest (rhos-release -x and rhos-release 13) and get the same trace with openstack undercloud upgrade, attaching here (there are a few lines missing in the trace from comment #0). Moving back to untriaged for now.
Mat can you please see comment #3 I added DFG:Compute since the error comes via nova-manage ... is this something you know about/have any ideas?
There is nothing to fix in nova. There was a similar case https://review.openstack.org/#/c/557348/ as interface for oslo_db_api.wrap_db_retry was changed in Pike, deprecated in Queens and removed in Rocky. There is no issues when you do upgrade from Pike to Queens. However, when you try to upgrade directly to master which is Rocky nova-manage will fail as old interface for slo_db_api.wrap_db_retry is already removed there.
moving to ON_QA - haven't seen this since my last comment
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086