Loading...
Loading...
SDDC Manager UI is not launchingvar/log/vmware/vcf/sddc-manager-ui-app/sddcManagerServer.log shows the below error caused by: 100.108: VError: Failed to initiate PSC: Unable to initialize psc inventory data: Failed to fetch results from /inventory/pscs api: 502 - "<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html> Trying to import certificates to SDDC Manager fails with below error keytool error: java.lang.Exception: Keystore file exists, but is empty: /etc/vmware/vcf/commonsvcs/trusted_certificates.store java.lang.Exception: Keystore file exists, but is empty: /etc/vmware/vcf/commonsvcs/trusted_certificates.store at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:899) at java.base/sun.security.tools.keytool.Main.run(Main.java:415) at java.base/sun.security.tools.keytool.Main.main(Main.java:408)
This KB defines the steps to rebuild / restore the SDDC Manager commonsvcs trust-store
Corrupted SDDC Manager commonsvcs trust-store
Take snapshot of SDDC Manager VMSSH to SDDC Manager VM using vcf account and su to rootBackup the trusted_certificates.store and trusted_certificates.key files cp /etc/vmware/vcf/commonsvcs/trusted_certificates.store /etc/vmware/vcf/commonsvcs/trusted_certificates.store.old cp /etc/vmware/vcf/commonsvcs/trusted_certificates.key /etc/vmware/vcf/commonsvcs/trusted_certificates.key.old Empty the two files by executing the below commands > /etc/vmware/vcf/commonsvcs/trusted_certificates.store > /etc/vmware/vcf/commonsvcs/trusted_certificates.key Execute command 'ls -l /etc/vmware/vcf/commonsvcs' and confirm the two files are empty by observing a "0" after "vcf" for both files root@sddc-manager [ /etc/vmware/vcf/commonsvcs ]# ls -l /etc/vmware/vcf/commonsvcs total 16 -r-------- 1 vcf_commonsvcs vcf 114 Feb 23 23:25 application.properties -rw------- 1 vcf_commonsvcs vcf 8 Feb 20 23:11 java_trusted_certificates.key -rw------- 1 vcf_commonsvcs vcf 4622 Feb 23 23:39 known_hosts -rw------- 1 vcf_commonsvcs vcf 0 Feb 28 02:17 trusted_certificates.key -rw------- 1 vcf_commonsvcs vcf 0 Feb 28 02:18 trusted_certificates.store Restart commonsvcs systemctl restart commonsvcs
Click on a version to see all relevant bugs
VMware Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.