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

[osm - vmware] Test the migration with disk in thin provision mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • Team OS Migrate Sprint 4
    • 1
    • Important

      In a demo env with a machine with thin provision disk, there is an error:

       

      time="2025-08-28T10:04:01-04:00" level=info msg="Running nbdcopy: /bin/bash -c /usr/bin/nbdcopy nbd+unix:///?socket=/tmp/nbdkit-database-user1-ZJrnoH8x.sock /dev/vdc --destination-is-zero --progress"
      time="2025-08-28T10:04:33-04:00" level=info msg="[nbdcopy stderr] nbdcopy: error: destination size (4294967296) is smaller than source size (4831838208)\n"
      time="2025-08-28T10:04:33-04:00" level=info msg="Failed to run nbdcopy: exit status 1" 

      The disk seems to growth between the Cinder volume creation and the nbdkit copy.

      We need to be sure that we support thin provision, or make sure that the snapshot we are consuming has the correct size for the Cinder volume.

      Also getting information from Cinder could be useful:
      https://docs.openstack.org/cinder/latest/contributor/thin_provisioning.html

              rhn-engineering-mbultel mathieu bultel
              rhn-engineering-mbultel mathieu bultel
              rhos-dfg-migrations
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: