Hide Forgot
Description of problem: Using centos-qemu-vm tools, when a virtual is migrated from one host to another, the autostart is removed from the source host, but is not recreated on the destination host. Version-Release number of selected component (if applicable):1.2.17-13.el7_2.5. May well need to be a different component in qemu or kvm. How reproducible: always Steps to Reproduce: 1.Move via libvirt 2. 3. Actual results: autostart flag is not created on target host if present on source host Expected results: autostart status flag is created on target host if present on source host Additional info:I know this is the centos-qemu-vm (required for snapshots), but I suspect it might be an issue with cor RHEL as well. If you migrate a host, it should retain the autostart feature if it was selected on the old host. We had an ASR last night on a HP host, but due to moving some virtuals around that day to balance over a new host, the flags weren't propagated. When the host came back up, it didn't start its virtuals.
> Steps to Reproduce: > 1.Move via libvirt Could you provide a little bit more details here, such as virsh command line or libvirt API and its parameters?
Libvirt version is 1.3.2 qemu-guest-agent 10:2.3.0-4.el7 qemu-img-ev, qemu-kvm-common-ev, qemu-kvm-ev, qemu-kvm-tools-ev 10:2.3.0-31.el7.16.1 Using qemu+ssh for connection. Migrate mode direct via standard 49152 port. unsafe not checked, temporary move not checked. Those are the only options I see on the GUI - but I'll provide any other info you need that I can find.
Also checked for selinux messages in audit log, but no references to anything in the autostart directory. The migrate itself works fine - just the autostart is missing.
Using virtual machine manager GUI version 1.3.2. Sorry - I'm usually better at bug reports.
I can reproduce this with latest libvirt build: libvirt-2.0.0-10.el7.x86_64 on source: # virsh list --all --autostart Id Name State ---------------------------------------------------- 13 rhel7.3 running run migration cmd: # virsh migrate --live rhel7.3 qemu+ssh://$target_host/system --verbose --persistent Migration: [100 %] check on target host: # virsh list --all Id Name State ---------------------------------------------------- 7 rhel7.3 running [root@dell-per730-37 ~]# virsh list --all --autostart Id Name State ----------------------------------------------------