Operational Defect Database

BugZero updated this defect 51 days ago.

VMware | 92685

Horizon Upgrade Rollback when VMware Horizon service fails to stop

Last update date:

3/29/2024

Affected products:

Horizon

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Details

This article discuss about a specific scenario where the Horizon Upgrade may fail when MSI installer is unable to stop the VMware Horizon Services timely. During an upgrade of Horizon from 7x to 8x version, MSI installer would try to: 1. Stop the services2. Delete the services3. Install new services4. Start the services If terminating a service takes longer than expected, it will time out and fail to delete the service. It may affect any of the dependent service in the process. YYYY-MM-DDTHH:MM:SS.ms+HH:MM DEBUG (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] Dependent 'wsnm', Wait for handle exit FAILEDYYYY-MM-DDTHH:MM:SS.ms+HH:MM DEBUG (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] Try to open process for kill for dependent 'wstunnel'YYYY-MM-DDTHH:MM:SS.ms+HH:MM DEBUG (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] Dependent 'wstunnel', KILL hanging process OkYYYY-MM-DDTHH:MM:SS.ms+HH:MM DEBUG (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] OpenService FAILED for dependent 'pcoipsg', error 1060 (The specified service does not exist as an installed service.)YYYY-MM-DDTHH:MM:SS.ms+HH:MM ERROR (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] StopService FAILED for dependent 'wstomcat', error 1061 (The service cannot accept control messages at this time.)YYYY-MM-DDTHH:MM:SS.ms+HH:MM DEBUG (XXXX-XXXX) <Service Main Thread> [ws_ConnectionServer] Wait for process exit for dependent 'wstomcat'

Solution

Stopping of the service might take longer depending on the server's performance. Using the following registry entry, we can extend this timeout period. REG_PATH: HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\Node ManagerREG_KEY: WindowsServiceStopTimeoutSecsREG_VALUE: 90REG_TYPE: REG_SZ Note: The value here is defined in seconds. Please take a snapshot of the server before changing this registry key. We can set this value to 10 minutes by setting this value to 600 or above.

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...