Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-19559

os-brick trying to flush multipath device in single pathed connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.z
    • openstack-cinder
    • None
    • Bug Tracking
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-storage
    • None
    • Refine Me
    • 1
    • Moderate

      To Reproduce Steps to reproduce the behavior:

      1. Mis-Configuration in glance.conf
      2. Upload 5 GB image works fine 
      3. Upload 20GB image fails with multipath error 

      Expected behavior

      • It should for either of image upload in case of mis-configuration

      Known workaround

      • Correct the mis-configuration and everything works fine

       

      Even when glance is misconfigured and we use single pathed connection and the operation should pass and not fail with the following error.

      806a6979acb34f4e96b7e3d4227f7990 - - default default] Flush multipath device 3600a09803831514c472b5964344f7145 flush_multipath_device /usr/lib/python3.9/site-packages/os_brick/initiator/linuxscsi.py:446 2025-08-20 08:30:19.085 3870000 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): multipath -f 3600a09803831514c472b5964344f7145 execute /usr/lib/python3.9/site-packages/oslo_concurrency/processutils.py:384 Stderr: '530831.793711 | libdevmapper: ioctl/libdm-iface.c(1997): device-mapper: table ioctl on 3600a09803831514c472b5964344f7145 failed: No such device or address\n530831.793 724 | 3600a09803831514c472b5964344f7145 is not a multipath device\n' _process_cmd /usr/lib/python3.9/site-packages/oslo_privsep/daemon.py:479 Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/oslo_privsep/daemon.py", line 476, in _process_cmd ret = func(*f_args, **f_kwargs) File "/usr/lib/python3.9/site-packages/oslo_privsep/priv_context.py", line 274, in _wrap return func(*args, **kwargs) File "/usr/lib/python3.9/site-packages/os_brick/privileged/rootwrap.py", line 197, in execute_root return custom_execute(*cmd, shell=False, run_as_root=False, **kwargs) File "/usr/lib/python3.9/site-packages/os_brick/privileged/rootwrap.py", line 145, in custom_execute return putils.execute(on_execute=on_execute, File "/usr/lib/python3.9/site-packages/oslo_concurrency/processutils.py", line 438, in execute raise ProcessExecutionError(exit_code=_returncode, oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: multipath -f 3600a09803831514c472b5964344f7145 Exit code: 1 Stdout: '' 

              Unassigned Unassigned
              schhabdi@redhat.com Shailesh Chhabdiya
              rhos-storage-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: