Bug 1536331

Summary: Failed to upgrade qemu-ga without virtio-serial driver installed
Product: Red Hat Enterprise Linux 7 Reporter: xiagao
Component: virtio-winAssignee: Sameeh Jubran <sjubran>
virtio-win sub component: qemu-ga-win QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: ddepaula, lijin, phou, sjubran, vrozenfe, wyu
Version: 7.5   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
NO_DOCS
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 16:21:49 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:
Attachments:
Description Flags
start qemu-ga service
none
upgrade qemu-ga
none
service status after upgrade
none
qemu-ga upgrade none

Description xiagao 2018-01-19 07:29:06 UTC
Description of problem:
Boot up win8.1-32 guest with virtio-serial device but don't install virtio-serial driver.At first install qemu-ga-win-7.4.5-1 and try to start qemu ga service,of course can't start qemu-ga service,and then install qemu-ga-win-7.5.0-2, can't finish installation.

Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.10.0-17.el7.x86_64
qemu-ga-win-7.5.0-2.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1.Boot up win8.1-32 guest without virtio serial device.

2.Install qemu-ga-win-7.4.5-1 msi file in guest without virtio-serial driver installed.

3.Check qemu guest agent service.
It's in stop status.

4.Start Qemu Guest Agent service 
Can't start it.pls check it in attachment.

5.Install qemu-ga-win-7.5.0-2 msi file in guest.

6.Check Qemu Guest Agent service

Actual results:
after step 5,can't finish installation 
after step 6,qemu-ga service's "startup type" is "disabled"
and can't reinstall qemu-ga in this guest.


Expected results:
qemu-ga can upgrade successfully even though virtio-serial driver is not installed.


Additional info:
Can reproduce this issue upgrading from qemu-ga-win-7.2.1-1 to qemu-ga-win-7.4.5-1. So it's not a regression.

Comment 2 xiagao 2018-01-19 07:37:25 UTC
Created attachment 1383168 [details]
start qemu-ga service

Comment 3 xiagao 2018-01-19 07:38:00 UTC
Created attachment 1383169 [details]
upgrade qemu-ga

Comment 4 xiagao 2018-01-19 07:40:48 UTC
Created attachment 1383170 [details]
service status after upgrade

Comment 8 Sameeh Jubran 2018-06-24 15:40:28 UTC
Can you please test upgrading to the following build 7.6.0 from 7.5.0:

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=16850812

Comment 9 xiagao 2018-06-27 00:12:28 UTC
(In reply to Sameeh Jubran from comment #8)
> Can you please test upgrading to the following build 7.6.0 from 7.5.0:
> 
> https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=16850812

Can't upgrade from 7.5.0-7.6.0, it says Another version of this product is already installed......
The detailed info is in attachment.

Comment 10 xiagao 2018-06-27 00:13:21 UTC
Created attachment 1454840 [details]
qemu-ga upgrade

Comment 11 Sameeh Jubran 2018-06-28 22:21:37 UTC
The issue should be finally solved now, please confirm with the following build:
 https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=16922124

A patch which fixes the issue was sent upstream too:

http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg08402.html

Thanks :)

Comment 12 xiagao 2018-07-10 08:39:19 UTC
upgrade from 7.5.0-7.6.0 successfully.
pkg version:
mingw-qemu-ga-win-7.6.0-2.el7ev
mingw-qemu-ga-win-7.5.0-2.el7ev

From comment 7,it is said that not support upgrade from 7.4.5 to 7.5, right?
If yes, I will verify this bug.

Thanks.

Comment 13 Sameeh Jubran 2018-07-10 08:44:14 UTC
(In reply to xiagao from comment #12)
> upgrade from 7.5.0-7.6.0 successfully.
> pkg version:
> mingw-qemu-ga-win-7.6.0-2.el7ev
> mingw-qemu-ga-win-7.5.0-2.el7ev
> 
> From comment 7,it is said that not support upgrade from 7.4.5 to 7.5, right?
> If yes, I will verify this bug.
That is correct, the upgrade was only fixed in 7.6.0, previously it was functioning before migrating from the qemu-ga-win to mingw-qemu-ga-win which is based on upstream qemu v2.9.0. 
> 
> Thanks.

Comment 14 xiagao 2018-07-10 10:06:47 UTC
From comment 13, verify this bug.
Thanks Sameeh.

Comment 15 Danilo de Paula 2018-08-21 14:11:47 UTC
Can we have QA, PM and Release flags for this, please?

Comment 17 errata-xmlrpc 2018-10-30 16:21:49 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.

https://access.redhat.com/errata/RHBA-2018:3413