summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1770417
blob: 491cb372132a3a2c0d883db8a1c27661b404bcf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Qemu can not parse long fqdns during drive-mirror

During migration of an openstack booted instance, I got the following error:

Apr 12 10:55:22 cmp1 libvirtd[4133]: 2018-04-12 10:55:22.133+0000: 4139: error : qemuMonitorJSONCheckError:392 : internal error: unable to execute QEMU command 'drive-mirror': error parsing address 'cmp0.sandriichenko-deploy-heat-virtual-mcp-pike-ovs-76.bud-mk.local:49153'

A bit more info in libvirt bug https://bugzilla.redhat.com/show_bug.cgi?id=1568939

To reproduce it with qemu only, I followed the guide at https://github.com/qemu/qemu/blob/master/docs/interop/live-block-operations.rst#id21. On dest and source compute nodes, I launched an instance:

qemu-system-x86_64 -display none -nodefconfig -M q35 -nodefaults -m 512 -blockdev node-name=node-TargetDisk,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./test-instance-mirror.qcow2 -device virtio-blk,drive=node-TargetDisk,id=virtio0 -S -monitor stdio -qmp unix:./qmp-sock,server,nowait -incoming tcp:localhost:6666

Then on dest node I launched nbd server:

(qemu) nbd_server_start cmp0:49153
(qemu) nbd_server_add -w node-TargetDisk

On the source node:

(qemu) drive_mirror -n  node-TargetDisk nbd:cmp0.vdrok-deploy-heat-virtual-mcp-pike-ovs-foobarbuzz.bud-mk.local:49153:exportname=node-TargetDisk
error parsing address 'cmp0.vdrok-deploy-heat-virtual-mcp-pike-ovs-foobarbuzz.bud-mk.local:49153'

When using short host name instead of FQDN address seems to be parsed fine:

(qemu) drive_mirror -n  node-TargetDisk nbd:cmp0:49153:exportname=node-TargetDisk qcow2
Image is not in qcow2 format

(not sure why it is not a qcow2 format, as I have qcow2 image with raw backing file, but this is unrelated)

QEMU version is 2.11.1 from bionic