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

Failure in writing to multipath device as it's not ready for I/O

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhos-18.0.4
    • rhos-18.0.0
    • python-os-brick
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Moderate

      When we try to create a volume from image, we attach the volume to the host and perform qemu-img convert command to convert the image and write it into the volume.

      In a iSCSI environment, the following error is observed when performing the qemu-img operation.

      2024-05-02 16:40:38.189 8 ERROR cinder.volume.volume_utils Stderr: 'qemu-img: /dev/dm-7: error while converting raw: Cannot grow device files\n'

      This happens because the multipath device is not ready for I/O and we try to write data into it.

      We require a check in os-brick to verify the multipath device is ready for read/write before returning the call to cinder/nova/glance for writing data into the volume.

              rdhasman@redhat.com Rajat Dhasmana
              rdhasman@redhat.com Rajat Dhasmana
              Yosi Ben Shimon Yosi Ben Shimon
              rhos-dfg-storage-squad-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: