Created attachment 1551701 [details] create snapshot Description: RHV could not detect Guest Agent when create snapshot for the running guest which installed qemu-guest-agent Background: Virt-v2v will install qemu-guest-agent in linux guests during converting guests to RHV,pls refer to https://bugzilla.redhat.com/show_bug.cgi?id=1619665#c4 How reproducible: 100% Version: qemu-kvm-rhev-2.12.0-25.el7.x86_64 libvirt-4.5.0-11.el7.x86_64 libguestfs-1.40.2-2.el7.x86_64 python-ovirt-engine-sdk4-4.3.1-1.el7ev.x86_64 Steps: 1.Prepare a guest has correctly installed qume-guest-agent and make sure the service is running normally. I have prepared a rhel7.6 guest on rhv4.3 # rpm -q qemu-guest-agent qemu-guest-agent-2.12.0-2.el7.x86_64 # systemctl status qemu-guest-agent ● qemu-guest-agent.service - QEMU Guest Agent Loaded: loaded (/usr/lib/systemd/system/qemu-guest-agent.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-04-02 06:15:25 EDT; 1min 17s ago Main PID: 3095 (qemu-ga) Tasks: 1 CGroup: /system.slice/qemu-guest-agent.service └─3095 /usr/bin/qemu-ga --method=virtio-serial --path=/dev/virtio-... Apr 02 06:15:25 localhost.localdomain systemd[1]: Started QEMU Guest Agent. 2.Boot the guest and create snapshot for the guest on RHV GUI Result: RHV will show warning info :Could not detect Guest Agent on the VM. Note that without a Guest Agent the data on the created snapshot may be inconsistent. Pls refer to screenshot named create-snapshot. But the snapshot can be created normally and the snapshot can detect qemu-guest-agent,pls refer to screenshot named snapshot-applications Actual results: As above Expected results: RHV can detect Guest Agent when create snapshot for the running guest which installed qemu-guest-agent Additional info: 1.Can be reproduced on rhv4.2 2.Cannot be reproduced when the guest installed ovirt-guest-agent.
Created attachment 1551702 [details] snapshot-applications
I assumed this was fixed as part of bug 1615830. Anyway, it should be possible to do that now. The snapshot feature only depends on QEMU-GA so the check should be changed in engine. The warning message could be more specific about which agent it needs too.
Ah, the bug 1615830 shouldn’t have been closed, it wasn’t finished!
I experience the same issue on oVirt 4.3.4 RC1 - the warning is showed when using qemu-guest-agent , but is not shown with ovirt-guest-agent. Tested on RHEL 8 VM and openSUSE Leap 15.0 .
I am raising the priority because this is not just about a warning in UI. What is more important is that the fs-freeze is not performed. This is likely to result in corrupted snapshots.
(In reply to liuzi from comment #0) please don't open downstream RHV bugs when the issue is not RHV-specific
I don't observe the issue any longer. I'm running ovirt 4.3.5.3-1.el7 qemu-guest-agent (RHEL 8 & openSUSE 15.1).
Verified on: - RHV 4.3.9.4-11.el7 - libvirt-4.5.0-33.el7.x86_64 (host) - vdsm-4.30.43-1.el7ev.x86_64 (host) Verification steps: 1. Create a VM with Red Hat Enterprise Linux Server 7.7 (Maipo) 2. Make sure the qemu-guest-agent is up and running 3. Create a snapshot (with memory) Result: - The snapshot is successfully created wit no warning message or any other issue.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.