Package: python3-rally-openstack
Version: 3.0.0-2
Severity: normal

Dear Maintainer,


The config.ini file is missing from the directory 
/usr/lib/python3/dist-packages/rally_openstack/verification/tempest/, causing a 
failure during the configuration of the verifier in Rally.
The file should be present in this location after installing the 
python3-rally-openstack package. Manually adding the missing config.ini file 
resolves the issue and allows Rally with Tempest to work correctly, indicating 
that the absence of this file is the cause of the problem. The fix is to ensure 
the config.ini file is packaged and placed in the correct directory as part of 
the Debian package.

Error output:

rally verify configure-verifier
2025-01-14 14:31:25.008 30728 INFO rally.api [-] Configuring verifier 
'bug-verifier' (UUID=4ff2e9ce-7fbd-4e85-9689-82cb7bd5933c) for deployment 
'test-deployment' (UUID=b71d5ef5-0690-429a-8b70-51d7ea87f525).
Command failed, please check log for more info
2025-01-14 14:31:25.816 30728 CRITICAL rally [-] Unhandled error: 
configparser.NoSectionError: No section: 'auth'
2025-01-14 14:31:25.816 30728 ERROR rally Traceback (most recent call last):
2025-01-14 14:31:25.816 30728 ERROR rally   File "/usr/bin/rally", line 10, in 
<module>
2025-01-14 14:31:25.816 30728 ERROR rally     sys.exit(main())
2025-01-14 14:31:25.816 30728 ERROR rally              ^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/cli/main.py", line 40, in main
2025-01-14 14:31:25.816 30728 ERROR rally     return cliutils.run(sys.argv, 
categories)
2025-01-14 14:31:25.816 30728 ERROR rally            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/cli/cliutils.py", line 669, in run
2025-01-14 14:31:25.816 30728 ERROR rally     ret = fn(*fn_args, **fn_kwargs)
2025-01-14 14:31:25.816 30728 ERROR rally           ^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/cli/envutils.py", line 142, in inner
2025-01-14 14:31:25.816 30728 ERROR rally     return func(*args, **kwargs)
2025-01-14 14:31:25.816 30728 ERROR rally            ^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/cli/envutils.py", line 142, in inner
2025-01-14 14:31:25.816 30728 ERROR rally     return func(*args, **kwargs)
2025-01-14 14:31:25.816 30728 ERROR rally            ^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/plugins/__init__.py", line 59, in wrapper
2025-01-14 14:31:25.816 30728 ERROR rally     return func(*args, **kwargs)
2025-01-14 14:31:25.816 30728 ERROR rally            ^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/cli/commands/verify.py", line 349, in 
configure_verifier
2025-01-14 14:31:25.816 30728 ERROR rally     config = 
api.verifier.configure(verifier=verifier_id,
2025-01-14 14:31:25.816 30728 ERROR rally              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally/api.py", line 860, in configure
2025-01-14 14:31:25.816 30728 ERROR rally     raw_config = 
vm.configure(extra_options=extra_options)
2025-01-14 14:31:25.816 30728 ERROR rally                  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally_openstack/verification/tempest/manager.py",
 line 110, in configure
2025-01-14 14:31:25.816 30728 ERROR rally     return 
tcm.create(self.configfile, extra_options)
2025-01-14 14:31:25.816 30728 ERROR rally            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally_openstack/verification/tempest/config.py",
 line 217, in create
2025-01-14 14:31:25.816 30728 ERROR rally     method()
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3/dist-packages/rally_openstack/verification/tempest/config.py",
 line 60, in _configure_auth
2025-01-14 14:31:25.816 30728 ERROR rally     self.conf.set(section_name, 
"admin_username",
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3.11/configparser.py", line 1220, in set
2025-01-14 14:31:25.816 30728 ERROR rally     super().set(section, option, 
value)
2025-01-14 14:31:25.816 30728 ERROR rally   File 
"/usr/lib/python3.11/configparser.py", line 918, in set
2025-01-14 14:31:25.816 30728 ERROR rally     raise NoSectionError(section) 
from None
2025-01-14 14:31:25.816 30728 ERROR rally configparser.NoSectionError: No 
section: 'auth'
2025-01-14 14:31:25.816 30728 ERROR rally


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.6-progress7.99-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to C.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect


Best
Barin

Reply via email to