-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
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