Hello,
I am trying to hot swap drive from a file to a rbd based image. I try the following command
virs# qemu-monitor-command 1476 '{"execute": "drive-mirror","arguments": {"device": "drive-virtio-disk1","job-id": "job0","target": "rbd:vms/06abc940-f8de-4184-a37c-2fac9506a2c6_disk.config:id=nova:auth_supported=cephx\\;none:mon_host=172.16.2.61\\:6789;172.16.2.62\\:6789;172.16.2.63\\:6789", "sync": "full", "mode": "existing", "format": "raw"}}'
and thenĀ
virsh # qemu-monitor-command 1476 '{"execute": "block-job-complete", "arguments": {"device": "job0" }}'
it seems working because query-block returns a new backend drive.
But how can I pass in a password-secret? looks like the above command work because there isĀ already one secret.
--
Best Regards,
Jiatong Shen