Failed to start vc-ws1a-broker services. Error: Operation timed out
search cancel

Failed to start vc-ws1a-broker services. Error: Operation timed out

book

Article ID: 406564

calendar_today

Updated On:

Products

VMware vCenter Server 8.0

Issue/Introduction

  • After upgrading vCenter Server, the vc-ws1a-broker service fails to start during post-upgrade with the error :
    stderr=Service-control failed. Error: Failed to start services in profile ALL. RC=1, stderr=Failed to start vc-ws1a-broker services. Error: Operation timed out

  • vCenter Upgrades might fail during the start of the vc-ws1a-broker service.

  • While starting the service manually will fail with "Operation timed out".

    /var/log/vmware/cloudvm/service-control.log
    <timestamps> INFO service-control Failed to start services in profile ALL. RC=1, stderr=Failed to start vc-ws1a-broker services. Error: Operation timed out

  • vCenter patching will fail during vc-ws1a-broker service start and below logs can be noticed under PatchRunner.log .

    /var/log/vmware/applmgmt/PatchRunner.log

    <timestamps> last_component:Patch ERROR vmware_b2b.patching.executor.hook_executor Patch hook 'last_component:Patch' failed.
    Traceback (most recent call last):
      File "/storage/updatemgr/software-updatehcfz17ox/stage/scripts/patches/payload/components-script/last_component/__init__.py", line 266, in _perfromStartAllVmwareServices
        _startAllVMwareServices(addHookData)
      File "/storage/updatemgr/software-updatehcfz17ox/stage/scripts/patches/payload/components-script/last_component/__init__.py", line 255, in _startAllVMwareServices
        raise UserError(FAILED_TO_START_SERVICES_TEXT)
    patch_errors.UserError: Failed to start all services after successful patching.
    <timestamps> ERROR __main__ Patch vCSA failed

  • vCenter federation logs for vc-ws1a-broker service reports below errors : 

    /var/log/vmware/vc-ws1a-broker/federation-service.log

    <timestamps>  INFO  <vc-fdqn>:federation (federation-business-pool-3) [-;-;-;-;-;-] com.vmware.vidm.federation.AcsMetadataRegistrar - start acs metadata registration, retryAttempt=643
    <timestamps>  ERROR <vc-fdqn>:federation (ForkJoinPool-2-worker-7) [-;-;-;-;-;-] com.vmware.vidm.common.gateway.mesh.GatewayAuthProvider - Failed to acquire token, returning cached token - Optional.empty java.util.concurrent.CompletionException: ScUnauthorizedException[Operation: POST -> http://localhost:10114/acs/token][Status:401]
    <timestamps>  WARN  <vc-fdqn>:federation (ForkJoinPool-2-worker-3) [-;-;-;-;-;-] com.vmware.vidm.common.gateway.mesh.GatewayAuthProvider - Authentication failure, purging cached GatewayToken.
    <timestamps>  ERROR <vc-fdqn>:federation (ForkJoinPool-2-worker-3) [-;-;-;-;-;-] com.vmware.vidm.federation.AcsMetadataRegistrar - Failed to register metadata with ACS: {"errors":[{"code":"401","message":"Unauthorized"}]}, will retry again in 1 seconds ScUnauthorizedException[Operation: POST -> http://localhost:10114/acs/services][Status:401]

Environment

vCenter Server 8.0 U2 and earlier

Cause

A bug in vCenter Server prevents vc-ws1a-broker configurations from migrating, which causes the service to crash.

 

Resolution

This issue is resolved in vCenter Server 8.0 U2a and later, available at Broadcom downloads.
If you are having difficulty finding and downloading software, review the Download Broadcom products and software KB.

Additional Information

VMware vCenter Server 8.0 Update 2a Release Notes