ls -lh /var/log/vmware/vcf/operationsmanager/operationsmanager* | wc -l 1547
curl localhost/sos/about <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx</center> </body> </html>
ls -lh /opt/vmware/vcf/sddc-support/ total 1.5M drwxr-xr-x 2 root root 4.0K Jun 15 19:36 __soscache__ -rw-r--r-- 1 root root 20K Jun 29 2021 sos.db -rw-r--r-- 1 root root 20K Sep 23 2021 soservice.db -rw-r--r-- 1 root root 1.4M May 10 05:00 status.json
Issue will be addressed in a future release of SDDC.
If any symlink or invalid files are in the backup directory path it should be manually deleted.
journalctl --unit=sosrest --since '1 hour ago'
Failed with result 'exit-code'." or "FileNotFoundError".journalctl --unit=sosrest --since '1 hour ago'
==============================================================
Jun 01 02:17:54 sddc-manager.vcf.corp.local sosrest[1789]: FileNotFoundError: [Errno 2] No such file or directory: '/var/log/vmware/vcf/sddc-support/backup-2023-05-08-16-22-45-1857/vcf-backup-sddc-manager.vcf.corp.local-2023-05-08-16-22-45/configuration/opt/vmware/vcf/sddc-support/sddc-202303291541/var/log/dracut.log'
rm /var/log/vmware/vcf/sddc-support/backup-2023-05-08-16-22-45-1857/vcf-backup-sddc-manager.vcf.corp.local-2023-05-08-16-22-45/configuration/opt/vmware/vcf/sddc-support/sddc-202303291541/var/log/dracut.log
systemctl restart sosrest.service
systemctl status sosrest.service -l
Similar error for VCF 5.x with different symptoms and resolution.