Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-147748

Failed to add-data device to an encrypted stratis pool on s390x

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.2
    • stratisd
    • None
    • Yes
    • Critical
    • rhel-storage-crs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 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

      1. stratis key set k1 --capture-key
      2. stratis pool create --key-desc k1 p1 /dev/sda
      3. 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
      

       

              amulhern@redhat.com the Mulhern
              rhn-support-fsuba Filip Suba
              stratis-team stratis-team
              Filip Suba Filip Suba
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: