Bug 1395710 - engine can't detect running guest-agent by creating VM snapshot
Summary: engine can't detect running guest-agent by creating VM snapshot
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 13:45 UTC by Lucie Leistnerova
Modified: 2016-11-24 16:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-24 16:46:28 UTC
oVirt Team: Virt


Attachments (Terms of Use)
log parts (14.60 KB, text/plain)
2016-11-18 11:19 UTC, Lucie Leistnerova
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.