Bug 1623757

Summary: Fail to detect ovirt-guest-agent when creating snapshot on ovirt
Product: [oVirt] ovirt-engine Reporter: Han Han <hhan>
Component: GeneralAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs, dyuan, hhan, jiyan, michal.skrivanek, tzheng, xuzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-30 11:56:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Han Han 2018-08-30 06:40:44 UTC
Description of problem:
As subject

Version-Release number of selected component (if applicable):
Guest:
ovirt-guest-agent-common-1.0.14-1.fc28.1.noarch
qemu-guest-agent-2.11.2-2.fc28.x86_64

Host:
vdsm-4.20.39-1.el7ev.x86_64
libvirt-4.5.0-7.el7.x86_64
qemu-kvm-rhev-2.12.0-11.el7.x86_64

Ovirt:
RHV Version 4.2.6.3-0.1.el7ev

How reproducible:
100%

Steps to Reproduce:
1. Prepare data center, cluster, host, storage domain for RHV
2. Create an vm and install it with fedora 28
3. Install qemu-guest-agent-2.11.2-2.fc28.x86_64 in fedora 28 VM and start ovirt-guest-agent service

4. Try to create snapshot on RHV web page, you will see the warning:
Could not detect Guest Agent on the VM. Note that without a Guest Agent the data on the created snapshot may be inconsistent.

Actual results:
As above

Expected results:
No warning

Additional info:
RHV can gather VM's info via ovirt-guest-agent because I find VM's ip addr is shown on RHV.
The log of ovirt-guest-agent:
MainThread::INFO::2018-08-30 10:09:08,926::ovirt-guest-agent::59::root::Starting oVirt guest agent
CredServer::INFO::2018-08-30 10:09:09,012::CredServer::258::root::CredServer is running...

Comment 1 Michal Skrivanek 2018-08-30 11:52:55 UTC
tested on master in Fedora 29 just now, seems to work ok
qemu-guest-agent-3.0.0-0.2.rc3.fc29.x86_64
ovirt-guest-agent-common-1.0.14-1.fc29.3.noarch

What's the output of "vdsm-client VM getStats vmID=<id>" on the host where the VM is running?

Comment 2 Michal Skrivanek 2018-08-30 11:56:28 UTC
oh sorry, you mean just the warning there in the UI - that's duplicate of bug 1614466 then

*** This bug has been marked as a duplicate of bug 1614466 ***