Bug 1614466 - Ovirt guest agent reported as not running while taking a snapshot
Summary: Ovirt guest agent reported as not running while taking a snapshot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 4.2.4.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: bugs@ovirt.org
QA Contact: Elad
URL:
Whiteboard:
: 1614474 1623757 (view as bug list)
Depends On: 1615830
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-09 16:34 UTC by Alex Kaouris
Modified: 2020-01-27 23:19 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-27 12:21:47 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4?


Attachments (Terms of Use)
Engine log (154.02 KB, text/plain)
2018-08-09 16:34 UTC, Alex Kaouris
no flags Details
vdsm log (1.91 MB, text/plain)
2018-08-09 16:35 UTC, Alex Kaouris
no flags Details

Description Alex Kaouris 2018-08-09 16:34:12 UTC
Created attachment 1474763 [details]
Engine log

Description of problem:

On Windows 10 or Windows 2016 guests (64 bit), when creating a snapshot the user receives the warning, although the guest tools are installed and guest agent is running: 

Could not detect Guest Agent on the VM. Note that without a Guest Agent the data on the created snapshot may be inconsistent.

Version-Release number of selected component (if applicable):
ovirt: 4.2.4.5-1.el7
Guest tools: oVirt Guest Tools 4.1-5.fc24, or 4.2-1. 

The following services are running within Windows guest: 
- Ovirt Guest service
- Qemu guest agent
- Qemu Guest Agent VSS provider

The engine dashboard shows also that the guest agent is ok since guest apps are listed, IP details are shown and no complaint about missing guest agents under Virtual Machines listing. 

How reproducible: always


Steps to Reproduce:
1. Click at Create snapshot
2. The warning is received
3.

Actual results:
The snapshot is taken. 
There are cases where the VM is rendered unresponsive, though this might not be related with this issue. 

Expected results:
since the guest tools are successfully installed, the user should not receive such warning. 

Additional info: Attaching vdsm.log and engine.log since start of VM until snapshot of VM.

Comment 1 Alex Kaouris 2018-08-09 16:35:58 UTC
Created attachment 1474764 [details]
vdsm log

vdsm log of the host where the VM was started until snapshot was taken

Comment 2 Michal Skrivanek 2018-08-10 06:05:29 UTC
can you please add the database entry for that particular VM from engine's db?
su - postgres
psql engine
select app_list from vms where vm_name = 'NAME';

Comment 3 Michal Skrivanek 2018-08-10 06:50:09 UTC
either way, this was broken 5 years ago by wrong AgentAppName introduced in c6eaf6e17ae1002df4dbcd03acbf1bf5a099a939
The list is incorrect for upstream as it is missing the "RHEV-Agent" name still in use on Windows. Adding Lev to consider changing that, though it may not be worth it really as it would be problematic for older setups.

RHV should work fine since it uses a different list


Also, we should really be looking for qemu-ga ("QEMU guest agent" in Windows, not reported yet in Linux(missing in applications_list in ovirt-guest-agent.conf).
Tomas, would you please open a followup bugs for fixing that since we will need that for ovirt-ga "elimination"

Comment 4 Michal Skrivanek 2018-08-10 06:54:15 UTC
*** Bug 1614474 has been marked as a duplicate of this bug. ***

Comment 5 Sandro Bonazzola 2018-08-10 07:51:01 UTC
Michal, Femi reported failure on linux guests as well, not windows only.
Can you please cross check?

Comment 6 Sandro Bonazzola 2018-08-10 07:58:01 UTC
Michal, assuming line to be changed is:
select fn_db_update_config_value('AgentAppName','ovirt-guest-agent-common,ovirt-guest-agent','general');

what should be the value to be added? "OVirtGuestService"? "OVirt Guest Service" ?

Comment 7 Sandro Bonazzola 2018-08-10 07:59:31 UTC
(In reply to Michal Skrivanek from comment #3)

> The list is incorrect for upstream as it is missing the "RHEV-Agent" name

RHEV-Agent is not used in oVirt guest service as far as I can tell.

Comment 8 Michal Skrivanek 2018-08-10 08:43:43 UTC
(In reply to Sandro Bonazzola from comment #7)
> (In reply to Michal Skrivanek from comment #3)
> 
> > The list is incorrect for upstream as it is missing the "RHEV-Agent" name
> 
> RHEV-Agent is not used in oVirt guest service as far as I can tell.

I only looked at VMs in setups around me. There were quite a few VMs but it is entirely possible there was no ovirt-guest-tools but rather the RHV tools everwhere.

> Michal, assuming line to be changed is:
> select fn_db_update_config_value('AgentAppName','ovirt-guest-agent-common,ovirt-guest-agent','general');
> what should be the value to be added? "OVirtGuestService"? "OVirt Guest Service" ?

The Windows service name is not part of the guest agent code. I don't know where and how it is set. But yeah, but the bug description should be enough - "Ovirt Guest service"
You could change it to match one of the existing values (they're really just one, since it's a string match the ovirt-guest-agent-common is redundant) if you want.

> Michal, Femi reported failure on linux guests as well, not windows only.
> Can you please cross check?

please add that to this bug, I do not have any additional information and the bug doesn't have any details whatsoever.
AFAIK on linux it should work just fine, unless someone would use the ancient "rhev" or "rhevm" named versions on el6.

Comment 9 Michal Skrivanek 2018-08-10 08:51:45 UTC
the "Qemu Guest Agent VSS provider" is what's really interesting. So for snapshots that's the one which should be checked on Windows. But we need the name to match the AgentAppName list for other (slightly obscure) things too (SSO, RDP, TZ check)

Comment 10 Alex Kaouris 2018-08-10 20:44:21 UTC
Below is the app list of the Windows 2016 VM as shown from command: 

select app_list from vms where vm_name = 'VM NAME'


 hppLaserJetService,Microsoft DCF MUI (Russian) 2016,Microsoft Office Proofing (Russian) 2016,HP Dropbox Plugin,LastPass (uninstall only),Microsoft InfoPath MUI (English) 2016,Microsoft Visual C++ 2013 Redist
ributable (x86) - 12.0.30501,Adobe Creative Cloud,TreeSize V6.3.7 (64 bit),OpenVPN 2.3.11-I601 ,Microsoft Office Korrekturhilfen 2016 – Deutsch,VDR Remote Management Tool 1.20,CarotDAV,Microsoft Visual C++ 20
12 x64 Additional Runtime - 11.0.61030,MQTT.fx 1.6.0,WebClient,Microsoft PowerPoint MUI (Russian) 2016,QEMU guest agent,Microsoft Excel MUI (English) 2016,Microsoft Visual C++ 2012 x86 Additional Runtime - 11
.0.61030,UsbDk Runtime Libraries,Bitvise SSH Client 7.31 (remove only),HPE IP CONSOLE VIEWER 4.1.3.2,WinRAR 5.50 beta 2 (64-bit),HP iLO Integrated Remote Console,Technitium MAC Address Changer v6.0,Microsoft 
Office Shared MUI (English) 2016,Microsoft Publisher MUI (English) 2016,Java Auto Updater,Microsoft OneNote MUI (English) 2016,PuTTY release 0.70 (64-bit),Microsoft Excel MUI (Russian) 2016,Microsoft Visual C
++ 2015 x86 Minimum Runtime - 14.0.23918,Google Update Helper,Mozilla Maintenance Service,Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.21005,Microsoft Access MUI (English) 2016,Microsoft Outlook MU
I (English) 2016,Systems Management Software (64-Bit),Microsoft Office OSM MUI (Russian) 2016,Bitvise SSH Client - FlowSshNet (x86),Herramientas de corrección de Microsoft Office 2016: español,CodecInstaller 
2.9.0,Adobe Flash Player 30 NPAPI,Adobe Flash Player 30 PPAPI,Microsoft Access Setup Metadata MUI (English) 2016,Microsoft Groove MUI (Russian) 2016,Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61030,
Microsoft Visual C++ 2013 x64 Additional Runtime - 12.0.21005,Microsoft Word MUI (English) 2016,VirtViewer 6.0-256 (64-bit),64 Bit HP CIO Components Installer,Microsoft Office Shared 32-bit MUI (English) 2016
,Advanced IP Scanner 2.5,Microsoft Office Proofing (English) 2016,Засоби перевірки правопису Microsoft Office 2016 – українська,Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23918,Microsoft Office Sh
ared MUI (Russian) 2016,Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030,Outils de vérification linguistique 2016 de Microsoft Office - Français,Microsoft Access MUI (Russian) 2016,UltraVnc,Micros
oft Office Shared 32-bit MUI (Russian) 2016,HP Google Drive Plugin,hppM277LaserJetService,Microsoft Groove MUI (English) 2016,Microsoft Visual C++ 2010  x64 Redistributable - 10.0.40219,Microsoft Visual C++ 2
005 Redistributable (x64),Envoy Explorer,WinSCP 5.9.6,Microsoft Word MUI (Russian) 2016,Google Chrome,ToolBox,Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.21005,Dummy File Creator,Adobe Acrobat Reader
 DC,oVirt Guest Tools 4.1-5.fc24,TAP-Windows 9.21.2,Mozilla Firefox 61.0.1 (x64 en-US),Microsoft Office OSM UX MUI (Russian) 2016,Microsoft Visual C++ 2005 Redistributable,Microsoft Visual C++ 2012 x64 Minimu
m Runtime - 11.0.61030,Microsoft Visual C++ 2015 x64 Additional Runtime - 14.0.23918,Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17,UltraViewer version 5.1.0.3,VLC media player,Intel® Manageabil
ity Commander 1.0.8,Microsoft Office Proofing Tools 2016 - English,Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17,Microsoft Office OSM UX MUI (English) 2016,Microsoft Publisher MUI (Russian) 201
6,HP CLJM277 Scan HP Scan,Microsoft OneNote MUI (Russian) 2016,Средства проверки правописания Microsoft Office 2016 — русский,HPLJUTM277,Bitvise SSH Client - FlowSshNet (x64),ConEmu 161206.x64,Microsoft Visua
l C++ 2012 Redistributable (x64) - 11.0.61030,Cisco AnyConnect Secure Mobility Client,HP Unified IO,Microsoft Skype for Business MUI (Russian) 2016,Microsoft Visual C++ 2015 x64 Minimum Runtime - 14.0.23918,M
icrosoft Visual C++ 2013 x64 Minimum Runtime - 12.0.21005,Cisco AnyConnect Secure Mobility Client ,Cisco AMP for Endpoints Connector,Microsoft Visual C++ 2010  x86 Redistributable - 10.0.40219,Microsoft Visua
l C++ 2013 Redistributable (x64) - 12.0.30501,Microsoft Office Shared Setup Metadata MUI (English) 2016,Microsoft Skype for Business MUI (English) 2016,Microsoft DCF MUI (English) 2016,Microsoft Outlook MUI (
Russian) 2016,Adobe Illustrator CC 2017,OpenSSH for Windows (remove only),Microsoft PowerPoint MUI (English) 2016,Web Components,Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23918,CCleaner,Microsoft
 InfoPath MUI (Russian) 2016,Java 8 Update 181,Manageability Developer Tool Kit,Microsoft Office Professional Plus 2016,Microsoft Visual C++ 2015 x86 Additional Runtime - 14.0.23918,Adobe Refresh Manager,Micr
osoft Office 32-bit Components 2016,Microsoft Office OSM MUI (English) 2016
(1 row)

Comment 11 Alex Kaouris 2018-08-27 06:13:22 UTC
I am wondering if there is any progress on this. In case I will gladly do so.

Comment 12 Michal Skrivanek 2018-08-30 11:55:41 UTC
we really just need bug 1615830

Comment 13 Michal Skrivanek 2018-08-30 11:56:28 UTC
*** Bug 1623757 has been marked as a duplicate of this bug. ***

Comment 14 elenageorge 2018-11-16 07:39:04 UTC
Since raw disks are not supported, a user needs to create a snapshot including the disks to enabled incremental backup for the disks. you can visit https://www.adobesupportphonenumber.com/blog/fix-photoshop-scratch-disk-full-errors/ to fix out this issues.

Comment 15 Ryan Barry 2019-01-04 01:46:21 UTC
oVirt Guest Agent is going away, but leaving this until the parent is on MODIFIED and testable

Comment 16 Ryan Barry 2019-01-21 14:54:24 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 17 Jeremy Parker 2020-01-27 23:19:13 UTC
Hi all,

We're experiencing the same issue on the following configurations:
Windows 2012R2 x64 - oVirt 4.3.5.5-1.el7
Windows 2019 x64   - oVirt 4.3.3.2-1.el7

I've confirmed that the QEmu / oVirt Guest agent services are installed and running on both.

It looks like this bug has been closed, but I can't tell when/if it has been fixed. Is a fix planned for a future release?
It's also not clear from this discussion if the warning is okay to ignore, or not. Thanks in advance.

Jeremy


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