Public bug reported:

The version of python3-tempestconf available in Questing is incompatible
with the version of python3-openstacksdk, when running discover-tempest-
config the following exception is logged

Stacktrace:


2026-02-11 22:31:47,743.743 24454 CRITICAL tempest [-] Unhandled error: 
TypeError: openstack.config.loader.OpenStackConfig.get_one() got multiple 
values for keyword argument 'argparse'
2026-02-11 22:31:47,743.743 24454 ERROR tempest Traceback (most recent call 
last):
2026-02-11 22:31:47,743.743 24454 ERROR tempest   File 
"/usr/bin/discover-tempest-config", line 10, in <module>
2026-02-11 22:31:47,743.743 24454 ERROR tempest     sys.exit(main())
2026-02-11 22:31:47,743.743 24454 ERROR tempest              ~~~~^^
2026-02-11 22:31:47,743.743 24454 ERROR tempest   File 
"/usr/lib/python3/dist-packages/config_tempest/main.py", line 616, in main
2026-02-11 22:31:47,743.743 24454 ERROR tempest     cloud_creds = 
get_cloud_creds(args)
2026-02-11 22:31:47,743.743 24454 ERROR tempest   File 
"/usr/lib/python3/dist-packages/config_tempest/main.py", line 517, in 
get_cloud_creds
2026-02-11 22:31:47,743.743 24454 ERROR tempest     cloud = 
openstack.connect(argparse=args_namespace)
2026-02-11 22:31:47,743.743 24454 ERROR tempest   File 
"/usr/lib/python3/dist-packages/openstack/__init__.py", line 97, in connect
2026-02-11 22:31:47,743.743 24454 ERROR tempest     cloud_region = 
openstack.config.get_cloud_region(
2026-02-11 22:31:47,743.743 24454 ERROR tempest         cloud=cloud,
2026-02-11 22:31:47,743.743 24454 ERROR tempest     ...<5 lines>...
2026-02-11 22:31:47,743.743 24454 ERROR tempest         **kwargs,
2026-02-11 22:31:47,743.743 24454 ERROR tempest     )
2026-02-11 22:31:47,743.743 24454 ERROR tempest   File 
"/usr/lib/python3/dist-packages/openstack/config/__init__.py", line 69, in 
get_cloud_region
2026-02-11 22:31:47,743.743 24454 ERROR tempest     return 
config.get_one(argparse=parsed_options, **kwargs)
2026-02-11 22:31:47,743.743 24454 ERROR tempest            
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-02-11 22:31:47,743.743 24454 ERROR tempest TypeError: 
openstack.config.loader.OpenStackConfig.get_one() got multiple values for 
keyword argument 'argparse'
2026-02-11 22:31:47,743.743 24454 ERROR tempest 

the bug fix is https://opendev.org/openinfra/python-
tempestconf/commit/8e6823ca40840b4c5d2ef4b7a97fde0bb5b22213

this bug fix is available in tempestconf>=4.5.0, the version available
in questing is 3.5.0

# apt policy python3-tempestconf
python3-tempestconf:
  Installed: 3.5.1-1
  Candidate: 3.5.1-1
  Version table:
 *** 3.5.1-1 500
        500 http://archive.ubuntu.com/ubuntu questing/universe amd64 Packages
        100 /var/lib/dpkg/status

** Affects: python-tempestconf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-tempestconf (Ubuntu Questing)
     Importance: Undecided
         Status: New

** Also affects: python-tempestconf (Ubuntu Questing)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141604

Title:
  TypeError: openstack.config.loader.OpenStackConfig.get_one() got
  multiple values for keyword argument 'argparse'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-tempestconf/+bug/2141604/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to