undercloud upgrade fails with "got an unexpected keyword argument 'constructor'

Solution In Progress - Updated -

Issue

2020-11-11 18:34:24,033 INFO: + '[' -n '' ']'
2020-11-11 18:34:24,033 INFO: + exit 0
2020-11-11 18:34:24,036 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 99-refresh-completed completed
2020-11-11 18:34:24,037 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 ----------------------- PROFILING -----------------------
2020-11-11 18:34:24,039 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020
2020-11-11 18:34:24,041 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 Target: post-configure.d
2020-11-11 18:34:24,042 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020
2020-11-11 18:34:24,043 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 Script                                     Seconds
2020-11-11 18:34:24,045 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 ---------------------------------------  ----------
2020-11-11 18:34:24,046 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020
2020-11-11 18:34:24,055 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 10-iptables                                   0.006
2020-11-11 18:34:24,061 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 80-seedstack-masquerade                       0.040
2020-11-11 18:34:24,067 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 98-undercloud-setup                           6.585
2020-11-11 18:34:24,073 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 99-refresh-completed                          0.449
2020-11-11 18:34:24,075 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020
2020-11-11 18:34:24,077 INFO: dib-run-parts Wed Nov 11 18:34:24 UTC 2020 --------------------- END PROFILING ---------------------
2020-11-11 18:34:24,077 INFO: [2020-11-11 18:34:24,077] (os-refresh-config) [INFO] Completed phase post-configure
2020-11-11 18:34:24,087 INFO: os-refresh-config completed successfully
2020-11-11 18:34:24,743 INFO: Network create/update failed get_session_client() got an unexpected keyword argument 'constructor'
2020-11-11 18:34:24,743 DEBUG: An exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2455, in install
    _post_config(instack_env, upgrade)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2128, in _post_config
    network = _ensure_neutron_network(sdk)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2174, in _ensure_neutron_network
    network = list(sdk.network.networks(name=PHYSICAL_NETWORK))
  File "/usr/lib/python2.7/site-packages/openstack/service_description.py", line 95, in __get__
    allow_version_hack=True,
TypeError: get_session_client() got an unexpected keyword argument 'constructor'
2020-11-11 18:34:24,743 ERROR:
#############################################################################
Undercloud install failed.

Reason: get_session_client() got an unexpected keyword argument 'constructor'

See the previous output for details about what went wrong.  The full install
log can be found at /home/stack/.instack/install-undercloud.log.

#############################################################################

Command 'instack-install-undercloud' returned non-zero exit status 1

Environment

  • Red Hat OpenStack Platform 13.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content