Bug 1022839

Summary: Error window pops up during installing windows qemu-ga-win.msi manually
Product: Red Hat Enterprise Linux 7 Reporter: Qunfang Zhang <qzhang>
Component: virtio-winAssignee: Yvugenfi <yvugenfi>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, bsarathy, chayang, flang, ghammer, juzhang, michen, rhod, sluo, virt-maint, vrozenfe, yvugenfi
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1515137 (view as bug list) Environment:
Last Closed: 2014-06-13 13:06:04 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:    
Bug Blocks: 1073208, 1515137    
Attachments:
Description Flags
screenshot for the error none

Description Qunfang Zhang 2013-10-24 06:58:00 UTC
Description of problem:
As talked in the mail, I hit the error during installing the qemu-ga-win-msi manually. File on the virtio-win component first and if it's not correct we could move it to other component. 


Version-Release number of selected component (if applicable):
qemu-ga-win-6.5-4
qemu-kvm-414
virtio-win-prewhql-72

How reproducible:
Sometimes.

Steps to Reproduce:
1. Boot up a guest with virtio-serial
# /usr/libexec/qemu-kvm -cpu SandyBridge -M rhel6.5.0 -enable-kvm -m 2G -smp 2,sockets=2,cores=1,threads=1 -name rhel6.4-64 -uuid 9a0e67ec-f286-d8e7-0548-0c1c9ec93009 -nodefconfig -nodefaults -monitor stdio -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,bus=virtio-serial0.0,chardev=qga0,name=org.qemu.guest_agent.0 -drive file=/home/win2012-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:51:8a,bus=pci.0,addr=0x3 -device usb-tablet,id=input0 -vnc :10 -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -qmp tcp:0:5555,server,nowait -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0

2. Install virtio-serial driver inside guest.

3. Install guest agent msi manually. 
Double click the msi file and install it. 

4. Uninstall it from "Control Panel"

5. Repeat step 3-4 for several time. (I tried about 20 times, hit 3 times for the error)

Actual results:
Error windows pops up and says "RegisterProvider failed. (Error:80042303) (null)".

Expected results:
No error.

Additional info:
(1) I login guest with Administrator user.
(2) If install/uninstall with msiexec command, can NOT reproduce. 
install:
$ msiexec /i <package name> /q 
uninstall: 
$ msiexec /uninstall <package name> /q

Comment 2 Qunfang Zhang 2013-10-24 08:16:39 UTC
Created attachment 815666 [details]
screenshot for the error

Comment 3 RHEL Program Management 2013-10-27 08:34:56 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Yvugenfi@redhat.com 2013-11-19 13:54:30 UTC
https://brewweb.devel.redhat.com/taskinfo?taskID=6607154

Comment 6 langfang 2014-03-11 07:29:56 UTC
Test on old and latest version on rhel7 host , not hit the problem , the qemu-ga-win.msi  installed suceessfully


old version:
Host:
# uname -r
3.10.0-99.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-52.el7.x86_64

Guest:win2012-64

qemu-ga-win-6.5-4
virtio-win-prewhql-72


latest version:
Host:
# uname -r
3.10.0-99.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-52.el7.x86_64

Guest:win2012-64

qemu-ga-win-6.5-7
virtio-win-prewhql-0.1-74


Steps:
1. Boot guest  with virtio-serial
 /usr/libexec/qemu-kvm -cpu SandyBridge -M rhel6.5.0 -enable-kvm -m 2G -smp 2,sockets=2,cores=1,threads=1 -name rhel6.4-64 -uuid 9a0e67ec-f286-d8e7-0548-0c1c9ec93009 -nodefconfig -nodefaults -monitor stdio -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,bus=virtio-serial0.0,chardev=qga0,name=org.qemu.guest_agent.0 -drive file=/home/win2012-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:51:8a,bus=pci.0,addr=0x3 -device usb-tablet,id=input0 -vnc :10 -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -qmp tcp:0:5555,server,nowait -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0

2. Install the virtio-serial driver

3. Install guest agent msi manually. 
Double click the msi file and install it. 

4. Uninstall it from "Control Panel"-->programs

5. Repeat step 3-4 for 6 times

Results:

Install and unstall sucessfully, after install the qemu-ga-x64.msi,work well


Addtional test:

(1) I login guest with Administrator user.
(2) If install/uninstall with msiexec command,work well
install:
$ msiexec /i <package name> /q 
uninstall: 
$ msiexec /uninstall <package name> /q


According to above test ,this bug is fixed on rhel7 .

Comment 7 langfang 2014-03-14 03:58:46 UTC
Addtional info:
Test this bug as follow version, work well
Host:
# uname -r 
3.10.0-107.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-52.el7.x86_64

guest:win8-64
virtio-win-1.6.8-5.el7
virtio-win-prewhql-0.1-74

According to above test ,this bug fixed

Comment 9 langfang 2014-03-17 07:06:44 UTC
Test on old and latest version on rhel7 host , not hit the problem , the qemu-ga-win.msi  installed suceessfully


old version:
Host:
# uname -r
3.10.0-99.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-52.el7.x86_64

Guest:win8-64
Guest:win2012-64

qemu-ga-win-6.5-4
virtio-win-prewhql-72


latest version:
Host:
# uname -r
3.10.0-99.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-1.5.3-52.el7.x86_64

Guest:win8-64

qemu-ga-win-7.0-7
virtio-win-prewhql-0.1-74


Steps:
1. Boot guest  with virtio-serial
 /usr/libexec/qemu-kvm -cpu SandyBridge,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time  -enable-kvm -m 2G -smp 2,sockets=2,cores=1,threads=1 -name win8-64 -uuid 9a0e67ec-f286-d8e7-0548-0c1c9ec93009 -nodefconfig -nodefaults -monitor stdio -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -chardev socket,path=/tmp/qga.sock,server,nowait,id=qga0 -device virtserialport,bus=virtio-serial0.0,chardev=qga0,name=org.qemu.guest_agent.0 -drive file=/root/win8-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d5:51:8a,bus=pci.0,addr=0x3 -device usb-tablet,id=input0 -vnc :10 -vga std -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -qmp tcp:0:5555,server,nowait -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0

2. Install the virtio-serial driver

3. Install guest agent msi manually. 
Double click the msi file and install it. 

4. Uninstall it from "Control Panel"-->programs

5. Repeat step 3-4 for 6 times

Results:

Install and unstall sucessfully, after install the qemu-ga-x64.msi,work well


Addtional test:

(1) I login guest with Administrator user.
(2) If install/uninstall with msiexec command,work well
install:
$ msiexec /i <package name> /q 
uninstall: 
$ msiexec /uninstall <package name> /q


According to above test ,this bug is fixed on rhel7 .

Comment 10 juzhang 2014-03-17 07:13:52 UTC
According to comment6 and comment9, set this issue as verified.

Comment 11 Ludek Smid 2014-06-13 13:06:04 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.