Bug 1637373

Summary: Sometimes can't delete "QEMU Guest Agent VSS Provider service" when uninstall qemu-ga program
Product: Red Hat Enterprise Linux 8 Reporter: xiagao
Component: virtio-winAssignee: Amnon Ilan <ailan>
virtio-win sub component: others QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED WORKSFORME Docs Contact:
Severity: medium    
Priority: medium CC: lijin, rbalakri, sjubran, vrozenfe, xiagao, yvugenfi
Version: 8.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-27 06:54: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: 1682882    
Bug Blocks:    
Attachments:
Description Flags
error info
none
vss service status after uninstalling qemu-ga program none

Description xiagao 2018-10-09 07:25:12 UTC
Created attachment 1491946 [details]
error info

Description of problem:
When I install/uninstall qemu-ga msi repeatly,at last could not install qemu-ga any more,it will pop up error info(screenshot is in attachmet).And I checked windows service that QEMU Guest Agent VSS Provider service always exists(attachment).

Version-Release number of selected component (if applicable):
mingw-qemu-ga-win-7.6.2-2.el7ev
qemu-kvm-2.12.0-26.el8+1648+9c120fe6.x86_64

How reproducible:
sometimes

Steps to Reproduce:
1.repeate install/uninstall qemu-ga.msi in guest
2.
3.

Actual results:
 pop up error info(screenshot is in attachmet)

Expected results:
install or uninstall successfully

Additional info:
Sometimes it occured in mingw-qemu-ga-win-7.5.0-2.el7ev ,so it's NOT a regression.

Comment 2 xiagao 2018-10-09 07:27:25 UTC
Created attachment 1491949 [details]
vss service status after uninstalling qemu-ga program

Comment 3 Yvugenfi@redhat.com 2018-12-06 13:56:44 UTC
Can you please provide QEMU command line and Windows version?

Comment 4 xiagao 2018-12-07 02:06:49 UTC
(In reply to Yan Vugenfirer from comment #3)
> Can you please provide QEMU command line and Windows version?

guest is win10-64(version 1803)

qemu cmd line:
/usr/libexec/qemu-kvm -name win10 -enable-kvm -m 3G -smp 4,maxcpus=8,sockets=8,cores=1,threads=1 -nodefconfig -nodefaults -cpu 'Skylake-Server',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -rtc base=localtime,driftfix=none -boot order=cd,menu=on -vga std -vnc :19 -monitor stdio -qmp tcp:0:1239,server,nowait -M q35 \
-drive file=win1064.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-netdev tap,script=/etc/qemu-ifup,downscript=no,id=hostnet0,vhost=on,queues=4 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=00:52:3b:35:86:09,mq=on,vectors=10 \
-device piix3-usb-uhci,id=usb -device usb-tablet,id=input0 \
-drive file=/home/kvm_autotest_root/iso/ISO/Win10/en_windows_10_business_editions_version_1803_updated_march_2018_x64_dvd_12063333.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,drive=drive-ide0-1-0,id=ide0-1-0 \
-cdrom /home/kvm_autotest_root/iso/windows/virtio-win.iso.el8 \

-device pcie-root-port,id=pcie-root-port-4,slot=4,chassis=4,addr=0x4,bus=pcie.0  \
-device pcie-root-port,id=pcie-root-port-5,slot=5,chassis=5,addr=0x5,bus=pcie.0  \

-device virtio-serial-pci,id=virtio-serial1,max_ports=511,bus=pcie-root-port-4 \
-chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait  -device virtserialport,bus=virtio-serial1.0,chardev=channel2,name=org.qemu.guest_agent.0 \

Comment 6 Bishara AbuHattoum 2019-05-16 11:53:10 UTC
Can you please provide me with the access to the machine that reproduced the bug?

Comment 7 xiagao 2019-05-20 01:51:06 UTC
(In reply to Bishara AbuHattoum from comment #6)
> Can you please provide me with the access to the machine that reproduced the
> bug?

It's been too long, the machine was destroyed. Anyway, I will try to reproduce it and give you the env.

Comment 8 xiagao 2019-05-27 02:20:44 UTC
I tried about 60 times and didn't reproduce it with win10-64(1803) and win10-64(1903).
And run 200 times with automation, didn't reproduce it. :(

Comment 9 Yvugenfi@redhat.com 2019-05-27 06:54:00 UTC
I suggest to close for now.