-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-10.2
-
None
-
Yes
-
Critical
-
rhel-storage-crs
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
s390x
-
None
What were you trying to do that didn't work?
Adding a new block device to an existing encrypted Stratis pool named p1 on an s390x system. The command failed with a UUID mismatch error.
What is the impact of this issue to you?
Users are unable to expand encrypted storage pools on the s390x architecture.
Please provide the package NVR for which the bug is seen:
stratisd-3.8.6-2.el10
stratis-cli-3.8.3-2.el10
How reproducible is this bug?:
always, but only on s390x
Steps to reproduce
- stratis key set k1 --capture-key
- stratis pool create --key-desc k1 p1 /dev/sda
- stratis pool add-data p1 /dev/sdb
Expected results
The device should be added to the pool successfully
Actual results
# stratis --propagate pool add-data p1 /dev/sdc Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/stratis_cli/_main.py", line 51, in the_func namespace.func(namespace) File "/usr/lib/python3.12/site-packages/stratis_cli/_parser/_parser.py", line 144, in wrapped_func func(*args) File "/usr/lib/python3.12/site-packages/stratis_cli/_actions/_pool.py", line 550, in add_data_devices raise StratisCliEngineError(return_code, message) stratis_cli._errors.StratisCliEngineError: ERROR: block devices being managed have pool UUID cb81af91-04ff-ff58-a551-0d233091b7f4 but new devices are to be added with pool UUID cb81af91-04c7-4b58-a551-0d233091b7f4 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/stratis", line 35, in <module> main() File "/usr/bin/stratis", line 32, in main return run()(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/stratis_cli/_main.py", line 67, in the_func raise StratisCliActionError(command_line_args, namespace) from err stratis_cli._errors.StratisCliActionError: Action selected by command-line arguments ['--propagate', 'pool', 'add-data', 'p1', '/dev/sdc'] which were parsed to Namespace(print_all_help=None, propagate=True, unhyphenated_uuids=False, func=<function add_subcommand.<locals>.wrap_func.<locals>.wrapped_func at 0x3ffa7c5e340>, pool_name='p1', blockdevs=['/dev/sdc']) failed