Fedora Account System
Red Hat Associate
Red Hat Customer
Creating a pool with stratis-cli fails Reproducible: Always Steps to Reproduce: 1. stratis pool create TEST1 /dev/loop0 /dev/loop1 Actual Results: + stratis pool create TEST1 /dev/loop0 /dev/loop1 stratis encountered an unexpected error during execution. Please report the error and include in your report the stack trace shown below. Traceback (most recent call last): File "/usr/lib/python3.15/site-packages/dbus_python_client_gen/_invokers.py", line 350, in dbus_func xformed_args = func(args) File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 334, in the_func return [f(a) for (f, a) in zip(funcs, objects, strict=True)] ~^^^ File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 56, in the_func raise err File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 51, in the_func return func(expr, variant=variant) File "/usr/lib/python3.15/site-packages/into_dbus_python/_xformer.py", line 158, in the_array_func raise IntoDPUnexpectedValueError( ...<2 lines>... ) into_dbus_python._errors.IntoDPUnexpectedValueError: expected a list for an array but found something else: frozenset({'/dev/loop1', '/dev/loop0'}) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 49, in the_func namespace.func(namespace) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/stratis_cli/_parser/_parser.py", line 148, in wrapped_func func(*args) ~~~~^^^^^^^ File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_pool.py", line 237, in create_pool raise err # pragma: no cover ^^^^^^^^^ File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_pool.py", line 203, in create_pool Manager.Methods.CreatePool( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ proxy, ^^^^^^ ...<22 lines>... }, ^^ ) ^ File "/usr/lib/python3.15/site-packages/stratis_cli/_actions/_data.py", line 134, in new_method return orig_method(proxy, args) File "/usr/lib/python3.15/site-packages/dbus_python_client_gen/_invokers.py", line 358, in dbus_func raise DPClientMarshallingError( err_msg, interface_name, signature, args ) from err dbus_python_client_gen._errors.DPClientMarshallingError: Failed to format arguments (TEST1, frozenset({'/dev/loop1', '/dev/loop0'}), [], [], (True, 134217728), (True, <IntegrityTagSpec.B512: '512b'>), (True, True)) according to signature "sasa((bu)s)a((bu)ss)(bt)(bs)(bb)" for method "CreatePool" belonging to interface "org.storage.stratis3.Manager.r9" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/stratis", line 33, in <module> main() ~~~~^^ File "/usr/bin/stratis", line 30, in main return run()(sys.argv[1:]) ~~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 70, in the_func handle_error(err) ~~~~~~~~~~~~^^^^^ File "/usr/lib/python3.15/site-packages/stratis_cli/_error_reporting.py", line 393, in handle_error raise err File "/usr/lib/python3.15/site-packages/stratis_cli/_main.py", line 65, in the_func raise StratisCliActionError(command_line_args, namespace) from err stratis_cli._errors.StratisCliActionError: Action selected by command-line arguments ['pool', 'create', 'TEST1', '/dev/loop0', '/dev/loop1'] which were parsed to Namespace(print_all_help=None, propagate=False, unhyphenated_uuids=False, func=<function add_subcommand.<locals>.wrap_func.<locals>.wrapped_func at 0x7f0c9239ec40>, key_desc=None, post_parser=<class 'stratis_cli._parser._pool.CreateOptions'>, pool_name='TEST1', blockdevs=['/dev/loop0', '/dev/loop1'], no_overprovision=False, clevis=None, integrity=<stratis_cli._parser._pool.IntegrityOptions object at 0x7f0c9343de80>) failed Additional Information: stratis-cli-3.9.1-1.fc45.noarch
Should be fixed by python-into-dbus-python update: https://bodhi.fedoraproject.org/updates/FEDORA-2026-72d809577c .