vSphere Upgrade & Install

 View Only
  • 1.  When I first installed vsphere, I was stuck at Starting VMware Security Token Service.

    Posted Nov 24, 2021 10:42 AM
      |   view attached

    当我第一次安装 vsphere 时,我被困在启动 VMware 安全令牌服务。 

    企业微信<a href=20211124-183640@2x.png">

    The error content is as follows
    Encountered an internal error. Traceback (most recent call last): File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1448, in main vmidentityFB.boot() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 343, in boot self.registerTokenServiceWithLookupService() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 567, in registerTokenServiceWithLookupService raise e File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 563, in registerTokenServiceWithLookupService dynVars=dynVars) File "/usr/lib/vmware-cm/bin/cloudvmcisreg.py", line 714, in cloudvm_sso_cm_register serviceId = do_lsauthz_operation(cisreg_opts_dict) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 1060, in do_lsauthz_operation ls_obj = LookupServiceClient(ls_url, retry_count=60) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 314, in __init__ self._init_service_content() File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 294, in do_retry return req_method(self, *args, **kargs) File "/usr/lib/vmware/site-packages/cis/cisreglib.py", line 304, in _init_service_content self.service_content = si.RetrieveServiceContent() File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 595, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 385, in _InvokeMethod return self._stub.InvokeMethod(self, info, args) File "/usr/lib/vmware/site-packages/pyVmomi/SoapAdapter.py", line 1574, in InvokeMethod "%d %s" % (resp.status, resp.reason)) http.client.HTTPException: 503 Service Unavailable
    解决方案
    This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.
     
     
     
     
     

    Attachment(s)



  • 2.  RE: When I first installed vsphere, I was stuck at Starting VMware Security Token Service.
    Best Answer

    Posted Nov 24, 2021 03:34 PM

    change your SSO domain as default i.e. vsphere.local

    Good luck!



  • 3.  RE: When I first installed vsphere, I was stuck at Starting VMware Security Token Service.

    Posted Nov 26, 2021 05:27 AM

    Thanks for your guidance. I changed the SSO domain to vsphere.local,I changed the following two places and succeeded.

    1.System name to localhost

    2.Add "IP address  localhost" to /etc/hosts



  • 4.  RE: When I first installed vsphere, I was stuck at Starting VMware Security Token Service.

    Posted Nov 16, 2023 02:11 PM
    J'ai le meme probleme
     
    Encountered an internal error. Traceback (most recent call last): File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1752, in main vmidentityFB.boot() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 356, in boot self.configureSTS(self.__stsRetryCount, self.__stsRetryInterval) File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1194, in configureSTS self.startSTSService() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1110, in startSTSService returnCode = self.startService(self.__sts_service_name) File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 97, in startService update_services_runstate("start", None, False, False, svc_names=[svc_name]) File "/usr/lib/vmware/site-packages/cis/svcsController.py", line 833, in update_services_runstate ignore_err=ignore_err) File "/usr/lib/vmware/site-packages/cis/svcsController.py", line 695, in _update_services_runstate_svclist controller.start_svc(svc_id, explicit_op=explicit_op) File "/usr/lib/vmware/site-packages/cis/svcsController.py", line 444, in start_svc manual_start=True, check_state=True) File "/usr/lib/vmware/site-packages/cis/utils.py", line 1008, in service_start raise ServiceStartException(svc_name) cis.exceptions.ServiceStartException: { "detail": [ { "id": "install.ciscommon.service.failstart", "translatable": "An error occurred while starting service '%(0)s'", "args": [ "sts" ], "localized": "An error occurred while starting service 'sts'" } ], "componentKey": null, "problemId": null, "resolution": null }

    Résolution

    This is an unrecoverable error, please retry install. If you encounter this error again, please search for these symptoms in the VMware Knowledge Base for any known issues and possible resolutions. If none can be found, collect a support bundle and open a support request.
     
    mais mon nom de domaine c'est déjà : vsphere.local


  • 5.  RE: When I first installed vsphere, I was stuck at Starting VMware Security Token Service.

    Posted Apr 23, 2022 05:19 PM

    Try a different version of the VCSA.  worked for me.