Bug 1395710

Summary: engine can't detect running guest-agent by creating VM snapshot
Product: [oVirt] ovirt-engine Reporter: Lucie Leistnerova <lleistne>
Component: GeneralAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, lleistne, tjelinek
Target Milestone: ---Keywords: Regression
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: 2016-11-24 16:46: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:
Attachments:
Description Flags
log parts none

Description Lucie Leistnerova 2016-11-16 13:45:06 UTC
Description of problem:
When I try to create a snapshot of running VM warning 'Could not detect Guest Agent on the VM...' appears even when the agent is running on the VM. Engine can read IP and hostname for the VM.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.0-0.0.master.20161115231325.gitd073048.el7.centos.noarch
on VM rhevm-guest-agent-common-1.0.12-3.el7ev.noarch

How reproducible: always


Steps to Reproduce:
1. create VM, install 7.3 RHEL, ovirt-guest-agent and start it
2. try to create snapshot

Actual results: IP and hostname is shown by the VM, but warning 'Could not detect Guest Agent on the VM...' in the snapshot dialog is shown


Expected results: no warning is shown


Additional info:
worked in 4.0.5.5-0.1.el7ev

Comment 1 Yaniv Kaul 2016-11-17 07:11:54 UTC
Is the qemu guest agent running?

Comment 2 Lucie Leistnerova 2016-11-18 07:51:19 UTC
yes

# 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 Fri 2016-11-18 07:46:57 CET; 1h 1min ago

installed qemu-guest-agent-2.5.0-3.el7.x86_64

Comment 3 Lucie Leistnerova 2016-11-18 11:19:27 UTC
Created attachment 1221836 [details]
log parts

Comment 4 Lucie Leistnerova 2016-11-18 11:20:37 UTC
tried on VM with name vm3-41-02
parts of engine, ovirt-guest-agent and vsdm logs attached

Comment 5 Tomas Jelinek 2016-11-18 13:24:25 UTC
If you check the "Applications" subtab of the "Vms" maintab for that particular VM, does it contain the guest agent? How is it reported exactly there?

Comment 6 Lucie Leistnerova 2016-11-22 08:36:04 UTC
in Applications is
rhevm-guest-agent-common-1.0.12-3.el7ev

Comment 7 Tomas Jelinek 2016-11-22 08:51:57 UTC
sorry for asking one by one, could you please also check the content of vdc_options for the name: "AgentAppName"? Should be available using engine-config

Comment 8 Lucie Leistnerova 2016-11-24 16:46:28 UTC
I see, in table vdc_options is 'ovirt-guest-agent'. So it's my mistake. I combine ovirt engine with rhevm guest agent. I installed ovirt guest agent and no warning is shown.