Actions
Bug #58110
openLive migration from a QCOW2 source
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When using certain QCOW2 images as the source format for live migration, I encounter errors. With some QCOW2 images, the live migration is successful and with some it fails. Perhaps this has something to do with QCOW2 features that are not supported by live migration, but I haven't been able to identify a pattern.
To reproduce:
- qemu-img info cirros-0.4.0-x86_64-disk.img
image: cirros-0.4.0-x86_64-disk.img
file format: qcow2
virtual size: 44 MiB (46137344 bytes)
disk size: 12.1 MiB
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
- cat source-qcow2.json
{
"type": "qcow",
"stream": {
"file_path":"/mnt/disk2/ceph/build/qcow2/cirros-0.4.0-x86_64-disk.img",
"type":"file"}
}
- rbd migration prepare --import-only --source-spec "`cat source-qcow2.json`" rbd/testing
- rbd migration execute rbd/testing
...
2022-11-29T08:14:31.048+0000 7f76c67fc700 -1 librbd::deep_copy::ObjectCopyRequest: 0x7f76a40624e0 handle_read: failed to read from source object: (22) Invalid argument
2022-11-29T08:14:31.048+0000 7f76c67fc700 -1 librbd::io::CopyupRequest: 0x7f76a4062720 handle_deep_copy: rbd_data.218d26fd56497.000000000000000a error encountered during deep-copy: (22) Invalid argument
2022-11-29T08:14:31.048+0000 7f76c67fc700 -1 librbd::io::ObjectRequest: 0x7f76a8013350 handle_copyup: rbd_data.218d26fd56497.000000000000000a failed to copyup object: (22) Invalid argument
2022-11-29T08:14:31.048+0000 7f76c67fc700 -1 librbd::MigrateRequest: 0x7f76b8026420 handle_migrate_objects: failed to migrate objects: (22) Invalid argument
2022-11-29T08:14:31.048+0000 7f76c67fc700 -1 librbd::MigrateRequest: 0x7f76b8026420 should_complete: encountered error: (22) Invalid argument
Actions