Issue in upgrading VCSA 6.7 -> 7.0 (Failed Step 2 Install – A problem occurred while – Starting VMware Security Token Service…)

This post was originally published on this site



We are currently seeing the following error when upgrading to VCSA 7.0 from 6.7, this error occurs durning step 2 of the new VCSA.



Encountered an internal error. Traceback (most recent call last): File “/usr/lib/vmidentity/firstboot/”, line 1752, in main vmidentityFB.boot() File “/usr/lib/vmidentity/firstboot/”, line 367, in boot self.registerTokenServiceWithLookupService() File “/usr/lib/vmidentity/firstboot/”, line 654, in registerTokenServiceWithLookupService raise e File “/usr/lib/vmidentity/firstboot/”, line 650, in registerTokenServiceWithLookupService dynVars=dynVars) File “/usr/lib/vmware-cm/bin/”, line 710, in cloudvm_sso_cm_register serviceId = do_lsauthz_operation(cisreg_opts_dict) File “/usr/lib/vmware/site-packages/cis/”, line 1058, in do_lsauthz_operation ls_obj = LookupServiceClient(ls_url, retry_count=60) File “/usr/lib/vmware/site-packages/cis/”, line 314, in __init__ self._init_service_content() File “/usr/lib/vmware/site-packages/cis/”, line 294, in do_retry return req_method(self, *args, **kargs) File “/usr/lib/vmware/site-packages/cis/”, line 304, in _init_service_content self.service_content = si.RetrieveServiceContent() File “/usr/lib/vmware/site-packages/pyVmomi/”, line 556, in <lambda> self.f(*(self.args + (obj,) + args), **kwargs) File “/usr/lib/vmware/site-packages/pyVmomi/”, line 368, in _InvokeMethod return self._stub.InvokeMethod(self, info, args) File “/usr/lib/vmware/site-packages/pyVmomi/”, line 1448, in InvokeMethod conn.request(‘POST’, self.path, req, headers) File “/usr/lib/python3.7/http/”, line 1252, in request self._send_request(method, url, body, headers, encode_chunked) File “/usr/lib/python3.7/http/”, line 1298, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File “/usr/lib/python3.7/http/”, line 1247, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File “/usr/lib/python3.7/http/”, line 1026, in _send_output self.send(msg) File “/usr/lib/python3.7/http/”, line 966, in send self.connect() File “/usr/lib/vmware/site-packages/pyVmomi/”, line 1085, in connect six.moves.http_client.HTTPSConnection.connect(self) File “/usr/lib/python3.7/http/”, line 1414, in connect super().connect() File “/usr/lib/python3.7/http/”, line 938, in connect (,self.port), self.timeout, self.source_address) File “/usr/lib/python3.7/”, line 727, in create_connection raise err File “/usr/lib/python3.7/”, line 716, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused



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.


We are currently unsure why this error is occurring. This error appears as the Security Token Service (STS) is starting up during the install.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.