This error log indicates a couple of issues that are preventing the SDDC Manager daily backup operation from completing successfully. Let's break down the errors and potential solutions:
Error 1: AttributeError: 'NoneType' object has no attribute 'text'
/var/log/vmware/vcf/sddc-support/backup-/sos.logcommandutils.py module is trying to access the text attribute of an object that is actually None. This often happens when a function expecting a response containing text receives a None value instead.get_services_version function: Determine what API calls or operations are being performed within this function and why they might return None. Check for network connectivity issues, API errors, or incorrect API endpoint configurations.export_metadata function: This function appears to be calling get_services_version. Examine the code to understand how the returned value is being used and where it might be becoming None.Error 2: Unable to create tempDir. java.io.tmpdir is set to /opt/vmware/vcf/lcm/tmp
Location: /var/log/vmware/vcf/lcm/lcm.log
Root Cause: The VCF LCM (Life Cycle Manager) component is failing to create a temporary directory because the java.io.tmpdir system environment variable is pointing to /opt/vmware/vcf/lcm/tmp, which is likely either:
/opt/vmware/vcf/lcm directory to create the temporary directory.Possible Solutions:
/opt/vmware/vcf/lcm/tmp directory. If not, grant the necessary permissions./opt/vmware/vcf/lcm directory to confirm that there is sufficient space for creating temporary files. If disk space is low, you might need to clean up files or increase disk space allocation.java.io.tmpdir environment variable to a different, valid temporary directory with sufficient permissions and disk space. However, this might require restarting the VCF LCM component.Troubleshooting Tips:
/var/log/vmware/vcf/sddc-support/backup-/sos.log, /var/log/vmware/vcf/lcm/lcm.log, and potentially other VCF logs) for more specific error messages and stack traces.By following these steps, you should be able to diagnose and resolve the issues causing the SDDC Manager backup failures.
VCF 4.5.2
Incorrect Permissions on the /opt/vmware/vcf/lcm/tmp directory