VMware Cloud Community
jkostraba
Contributor
Contributor
Jump to solution

VC 6.5 Install failure - identity management service error on first boot

Is anyone else experiencing a failure when installing VC 6.5?  I have this occuring when installing using the CLI installer, and when deploying the OVA using the ESXi web client.

The version of VC is 6.5.0 build 4240420, the recent release candidate.

The exception report looks like:

Encountered an internal error. Traceback (most recent call last): File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 2017, in main vmidentityFB.boot() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 349, in boot self.configureSTS(self.__stsRetryCount, self.__stsRetryInterval) File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1478, in configureSTS self.startSTSService() File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 1140, in startSTSService returnCode = self.startService(self.__sts_service_name, self.__stsRetryCount * self.__stsRetryInterval) File "/usr/lib/vmidentity/firstboot/vmidentity-firstboot.py", line 88, in startService return service_start(svc_name, wait_time) File "/usr/lib/vmware/site-packages/cis/utils.py", line 784, in service_start raise ServiceStartException(svc_name) ServiceStartException: { "resolution": null, "detail": [ { "args": [ "vmware-stsd" ], "id": "install.ciscommon.service.failstart", "localized": "An error occurred while starting service 'vmware-stsd'", "translatable": "An error occurred while starting service '%(0)s'" } ], "componentKey": null, "problemId": null }


My group and I am curious to hear whether or not anyone else is experience this and if there are any workarounds.

Thanks!


30 Replies
mikeg9
Contributor
Contributor
Jump to solution

This still happens with 6.5.0e, and none of the requested changes work.

systemctl status vmware-stsd.service has a different error for me though

Jul 13 20:56:46 [snip] systemd[1]: Failed to start LSB: VMWare Security Token Service.

still getting this from journalctl

Jul 13 20:56:45 vcenter.adheso.wsg.net vmware-stsd[6384]: Starting vmware-stsd.  Request for http://localhost:7080/afd failed after 1 seconds. Status: /usr/bin/curl status. Response: 000. Host: Host localhost not found: 3(NXDOMAIN).  Request for http://localhost:7080/afd failed after 1 seconds. Status: /usr/bin/curl status. Response: 000. Host: Host localhost not found: 3(NXDOMAIN).  Request for http://localhost:7080/afd failed after 1 seconds. Status: /usr/bin/curl status. Response: 000. Host: Host localhost not found: 3(NXDOMAIN)  Increasing the timeout window to 2 seconds..  Request for http://localhost:7080/afd failed after 2 seconds. Status: /usr/bin/curl status. Response: 000. Host: Host localhost not found: 3(NXDOMAIN)  Increasing the timeout window to 3 seconds.

localhost certainly resolved, ping works.

perhaps the retry button does nothing.

Reply
0 Kudos
richmaclannanwo
Contributor
Contributor
Jump to solution

This workaround is still useful with vCSA 6.5.0e. Entering the

"::1 localhost.localdom localhost" >> /etc/hosts

command when the installer showed 5% meant that the installation succeeded.

Reply
0 Kudos
NedPAdams
Contributor
Contributor
Jump to solution

This worked for me in 6.5, I entered 2 DNS servers and 1 NTP server.  My forward and reverse were fine. I verified using ping, nslookup and tracert of both DC's and 4 Host's.  When I entered two NTP servers I received error on firstboot. Later I editied the vcsa (http://vcsa-ip:5480), time subtab to enter the second NTP server.

Hope this helps....

Reply
0 Kudos
JoseGalarraga
Contributor
Contributor
Jump to solution

Another way to solve this is:

Disable IPV6 and

Use DNS: 127.0.0.1

Reply
0 Kudos
jdittric
Contributor
Contributor
Jump to solution

This works for 6.5c too...

Reply
0 Kudos
dmidd
Contributor
Contributor
Jump to solution

This worked for me, thanks!

Reply
0 Kudos
jpsecher
Contributor
Contributor
Jump to solution

I can confirm that the manual editing of /etc/hosts (VMware Knowledge Base​) worked for me.

Reply
0 Kudos
tncyknc
Contributor
Contributor
Jump to solution

If forward and reverse DNS records are prepared then tr to run the installer on a domain joined machine. I saw this issue when i tried to mount and install vcsa iso on a work group machine.

Reply
0 Kudos
MRoushdy
Hot Shot
Hot Shot
Jump to solution

Awesome,  worked for me with upgrading VC 6.0U3 to VCSA 6.7 U2

Thank you,

vEXPERT - VCAP-DCV - Blog: arabitnetwork.com | YouTube: youtube.com/c/MohamedRoushdy
Reply
0 Kudos
9990374530
Hot Shot
Hot Shot
Jump to solution

Hi,

I tried to follow the mentioned steps but it didn't work. Can you please help?

9990374530_0-1664817817129.png

 

Here is my original post for this issue:

https://communities.vmware.com/t5/VMware-vCenter-Discussions/vCenter-Server-Appliance-6-5-Firstboot-...

 

 

Regards

PK

 

Reply
0 Kudos