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

Creating stratis pool on ppc64le fails with IO error

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.8, rhel-10.2
    • stratisd
    • None
    • None
    • Critical
    • rhel-storage-crs
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • ppc64le
    • None

      What were you trying to do that didn't work?

      Creating stratis pool on ppc64le system fails.

      What is the impact of this issue to you?

      Can't create a use stratis pool.

      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?:

      100% on ppc64le

      Steps to reproduce

      1. stratis pool create p1 /dev/sda3
      2.  
      3.  

      Expected results

      Stratis creates pool succesfully.

      Actual results

      Execution failed:
      stratisd failed to perform the operation that you requested. It returned the following information via the D-Bus: ERROR: At least one of the devices specified was unsuitable for initialization: IO error: Invalid argument (os error 22).

      1. stratis --propagate pool create p1 /dev/sda3
        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 246, in create_pool
          raise StratisCliEngineError(return_code, message)
        stratis_cli._errors.StratisCliEngineError: ERROR: At least one of the devices specified was unsuitable for initialization: IO error: Invalid argument (os error 22)

      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', 'create', 'p1', '/dev/sda3'] 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 0x7fffb2c554e0>, key_desc=None, post_parser=<class 'stratis_cli._parser._pool.CreateOptions'>, pool_name='p1', blockdevs=['/dev/sda3'], no_overprovision=False, clevis=None, integrity=<stratis_cli._parser._pool.IntegrityOptions object at 0x7fffb3a9bda0>) failed

              jbaublit@redhat.com John Baublitz
              rhn-support-fsuba Filip Suba
              John Baublitz John Baublitz
              Filip Suba Filip Suba
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: