"An error occurs while starting service 'sps' "- while upgrading vCenter Server to vCenter Server 6.7
search cancel

"An error occurs while starting service 'sps' "- while upgrading vCenter Server to vCenter Server 6.7

book

Article ID: 345439

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Upgrading VMware vCenter Server to 6.7 fails and the below errors can be seen:

  • "An error occurred while starting service 'sps':
The sms_spbm_firstboot.stderr.log (located in the var/log/firstboot/sms_spbm_firstboot.pystderr.log) contains an entry similar to:

ERROR starting sps rc: 1, stdout: , stderr: Start service request failed. Error: Operation timed out
Failed to start the service : {
    "componentKey": null,
    "resolution": null,
    "problemId": null,
    "detail": [
        {
            "args": [
                "sps"
            ],
            "localized": "An error occurred while starting service 'sps'",
            "translatable": "An error occurred while starting service '%(0)s'",
            "id": "install.ciscommon.service.failstart
  • /var/log/vmware/vmware-sps/sps.log in vCenter shows below errors:
[main] INFO  opId=sps-Main-####-743 com.vmware.vim.storage.common.identity.ServiceSolutionUserByHoKToken - SPS solution user initialized successfully
[pool-1-thread-1] WARN  opId=sps-Main-686863-743 com.vmware.vim.storage.common.serviceclient.vmomi.RequestRetryHandler - Error while trying to do relogin
java.lang.IllegalStateException: Client initialization is not complete!
        at com.google.common.base.Preconditions.checkState(Preconditions.java:174)
        at com.vmware.vim.storage.common.serviceclient.ConnectionInitializationTask.get(ConnectionInitializationTask.java:80)
        at com.vmware.vim.storage.common.serviceclient.vpxd.impl.VpxdClientManagerImpl.getClient(VpxdClientManagerImpl.java:169)
        at com.vmware.vim.storage.common.serviceclient.vpxd.impl.VpxdClientManagerImpl.getCurrentSession(VpxdClientManagerImpl.java:180)
        at com.vmware.vim.storage.common.serviceclient.vmomi.RequestRetryHandler.retry(RequestRetryHandler.java:76)
        at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$RetryingFuture.setException(MethodInvocationHandlerImpl.java:525)
        at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:230)
        at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:156)
        at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:53)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[main] ERROR opId=sps-Main-686863-743 com.vmware.vim.storage.common.serviceclient.vpxd.impl.VpxdClientImpl - VPXD client login failed.
[main] ERROR opId=sps-Main-686863-743 com.vmware.vim.storage.common.task.retry.CallableRetryDecorator - Caught exception -
com.vmware.vim.storage.common.serviceclient.vpxd.VpxdException: Error while doing login to VPXD service
  • /var/log/vmware/vpxd/vpxd.log in vCenter shows below entries:
info vpxd[22565] [Originator@6876 sub=AuthorizeManager opID=sps-Main-686863-743-3e] [Auth]: User VSPHERE.LOCAL\vpxd-extension-a1c69241-####-####-####-########105
info vpxd[22565] [Originator@6876 sub=vpxLro opID=sps-Main-686863-743-3e] [VpxLRO] -- FINISH lro-1010
info vpxd[22565] [Originator@6876 sub=Default opID=sps-Main-686863-743-3e] [VpxLRO] -- ERROR lro-1010 -- SessionManager -- vim.SessionManager.loginByToken
: vim.fault.NoPermission:
--> Result:
--> (vim.fault.NoPermission) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    object = 'vim.Folder:1C62C854-####-####-####-########76A:group-d1',
-->    privilegeId = "System.View"
-->    msg = ""
--> }
--> Args:
-->
--> Arg locale:
--> "en_US"

Environment

VMware vCenter Server 6.7.x

Cause

The error occurs due to the permission for vpxd-extension being removed during the first sync with Authz.

Resolution

This issue has been resolved in vCenter Server 6.7 U1b/EP6, download the vCenter Server 6.7U1b from Support Downloads (broadcom.com).