This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2087678 - [mingw-qemu-ga-win] Frequently stop/start ‘qemu-ga service‘ get failed
Summary: [mingw-qemu-ga-win] Frequently stop/start ‘qemu-ga service‘ get failed
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: mingw-qemu-ga-win
Version: 9.1
Hardware: x86_64
OS: Windows
low
low
Target Milestone: rc
: ---
Assignee: Kostiantyn Kostiuk
QA Contact: dehanmeng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 08:29 UTC by dehanmeng
Modified: 2023-08-16 08:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 08:58:07 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHEL-1306 0 None None None 2023-08-15 11:54:47 UTC
Red Hat Issue Tracker   RHELPLAN-122425 0 None None None 2023-08-16 08:58:06 UTC

Description dehanmeng 2022-05-18 08:29:59 UTC
Description of problem:  'The service is starting or stopping.  Please try again later.'

Complete log as follwoing.
currently, qga service stop/start operations expose an old problem: 
23:48:44 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100
23:48:44 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100 --> Try to stop qemu-ga service.
23:48:44 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: net stop qemu-ga
23:49:04 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: echo %errorlevel%
23:49:05 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100 --> Try to start qemu-ga service.

23:49:05 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: net start qemu-ga

23:49:05 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: echo %errorlevel%

23:49:06 ERROR| 
... ...
... ...

... ...
... ...
23:49:06 ERROR|     raise exceptions.TestFail(message)
23:49:06 ERROR| avocado.core.exceptions.TestFail: Could not start qemu-ga service in VM 'avocado-vt-vm1',detail: 'The service is starting or stopping.  Please try again later.

Version-Release number of selected component (if applicable):


How reproducible:
2/10 ~ 3/10

Steps to Reproduce:
1. boot up windows guest
2. install qga service
3. stop/start via command `net stop/start qemu-ga service`

Actual results:
service start failed.

Expected results:
service start successfully.

Additional info:
open a low priority bug here as a tracker after confirming with dev.

Comment 1 dehanmeng 2022-05-18 08:38:38 UTC
> Version-Release number of selected component (if applicable):

mingw-qemu-ga-win-104.0.2-1.el9

Comment 2 Yvugenfi@redhat.com 2022-05-19 14:45:14 UTC
(In reply to dehanmeng from comment #0)
> Description of problem:  'The service is starting or stopping.  Please try
> again later.'
> 
> Complete log as follwoing.
> currently, qga service stop/start operations expose an old problem: 
> 23:48:44 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100
> 23:48:44 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100 --> Try to stop
> qemu-ga service.
> 23:48:44 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: net stop
> qemu-ga
> 23:49:04 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: echo

Maybe it worth to enhance the script and query for the status of the service.
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-service?view=powershell-7.2

> %errorlevel%
> 23:49:05 DEBUG| [stderr] INFO:root:Context: Repeat: 60/100 --> Try to start
> qemu-ga service.
> 
> 23:49:05 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: net start
> qemu-ga
> 
> 23:49:05 DEBUG| [stderr] DEBUG:aexpect.client:Sending command: echo
> %errorlevel%
> 
> 23:49:06 ERROR| 
> ... ...
> ... ...
> 
> ... ...
> ... ...
> 23:49:06 ERROR|     raise exceptions.TestFail(message)
> 23:49:06 ERROR| avocado.core.exceptions.TestFail: Could not start qemu-ga
> service in VM 'avocado-vt-vm1',detail: 'The service is starting or stopping.
> Please try again later.
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 2/10 ~ 3/10
> 
> Steps to Reproduce:
> 1. boot up windows guest
> 2. install qga service
> 3. stop/start via command `net stop/start qemu-ga service`
> 
> Actual results:
> service start failed.
> 
> Expected results:
> service start successfully.
> 
> Additional info:
> open a low priority bug here as a tracker after confirming with dev.

Comment 3 dehanmeng 2022-05-19 15:33:26 UTC
recently, hit qga service stop issue: "09:31:45 ERROR| avocado.core.exceptions.TestFail: Could not stop qemu-ga service in VM 'avocado-vt-vm1', detail: 'System error 109 has occurred."

Comment 4 Yvugenfi@redhat.com 2022-11-10 09:18:01 UTC
Hi Dehan,

Please retest with latest drivers. virtio-serial should be updated and have a fix for double completion.

Thanks,
Yan.

Comment 5 dehanmeng 2022-11-15 02:15:34 UTC
Test 100 hundred times in progress. will update result when it finished.

Comment 12 RHEL Program Management 2023-08-15 15:25:07 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.


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