Bug 1049828

Summary: [QGA] Error 1920. Service 'QEMU Guest Agent' (QEMU-GA) failed to start. Verify that you have sufficient privileges to start system services. -- QEMU guest agent -- Installation failed.
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-guest-agentAssignee: Lev Veyde <lveyde>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3.0CC: aberezin, acathrow, gklein, iheim, lbopf, lveyde, mkenneth, oschreib, rhod, sbonazzo, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: av1 Doc Type: Bug Fix
Doc Text:
Previously, the QEMU Guest Agent failed to start after installation on certain Windows operating systems. This happened because the VirtIO-Serial driver required to start the service cannot be loaded without a system reboot. Now, the QEMU Guest Agent installer disables the attempt to start the service following installation if the VirtIO-Serial is not loaded. After a successful reboot, the service can be started.
Story Points: ---
Clone Of:
: 1060720 (view as bug list) Environment:
Last Closed: 2014-06-09 14:06:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 990629    
Bug Blocks: 1060720, 1078909, 1142926    
Attachments:
Description Flags
logs and events none

Description Jiri Belka 2014-01-08 10:17:52 UTC
Created attachment 847049 [details]
logs and events

Description of problem:
During investigation of BZ990629 I found new errors related to QGA (Qemu Guest Agent) installation.

QEMU-GA service is not installed at all. But there is Qemu Guest Agent VSS Provider installed.

-%-
MSI (s) (70:70) [08:43:28:250]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (70:70) [08:43:28:250]: Product: QEMU guest agent -- Error 1920. Service 'QEMU Guest Agent' (QEMU-GA) failed to start.  Verify that you have sufficient privileges to start system services.

Error 1920. Service 'QEMU Guest Agent' (QEMU-GA) failed to start.  Verify that you have sufficient privileges to start system services.
...snip...
MSI (s) (70:70) [08:43:28:281]: Note: 1: 1708 
MSI (s) (70:70) [08:43:28:281]: Note: 1: 2205 2:  3: Error 
MSI (s) (70:70) [08:43:28:281]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708 
MSI (s) (70:70) [08:43:28:281]: Note: 1: 2205 2:  3: Error 
MSI (s) (70:70) [08:43:28:281]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (70:70) [08:43:28:281]: Product: QEMU guest agent -- Installation failed.

MSI (s) (70:70) [08:43:28:281]: Windows Installer installed the product. Product Name: QEMU guest agent. Product Version: 6.5.0.5. Product Language: 1033. Installation success or error status: 1603.
-%-

Version-Release number of selected component (if applicable):
is30/tools 3.3.9/6.5.0.5

How reproducible:
100%

Steps to Reproduce:
1. install 3.3.9 on Windows 2008 32bit
2. do only one reboot (post-install reboot as you will be prompted)
3.

Actual results:
QGA is not successfully and fully installed

Expected results:
all working

Additional info:

Comment 1 Jiri Belka 2014-01-08 14:21:11 UTC
Same for w2k8 64bit, but w2k8r2 is OK.

Comment 2 Lev Veyde 2014-01-09 14:12:53 UTC
The issue seems again to be that VirtIO-Serial is not properly installed.

We need to check if Virtio-Win drivers build 74 fixes this issue.

Comment 3 Lev Veyde 2014-01-12 12:20:20 UTC
It seems that we found the potential source of the issue.

Windows Vista and W2K8 Server is supplied with KMDF v1.7 while our drivers use a more recent v1.9. Unfortunately it seems that some kernel driver uses it, and thus we can't update WDF it without performing a reboot.

Thus a VirtIO-Serial driver can't be loaded before a reboot is performed.

Current plan is to modify the Qemu GA MSI installer, to disable the attempt to start the service following installation, if the VirtIO-Serial is not installed.

Following this change we'll need to ensure that VirtIO-Serial driver loads properly on the next boot, before QemuGA service is started.

Comment 8 Jiri Belka 2014-02-25 14:22:21 UTC
ok, 3.4.1 guest tools iso.

Comment 10 errata-xmlrpc 2014-06-09 14:06:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0669.html