Backup operation failed for SDDC Manager System Configuration
search cancel

Backup operation failed for SDDC Manager System Configuration

book

Article ID: 369741

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

 Backup operation failed for SDDC Manager System Configuration

SDDC Manager Daily Backup operation failed.

  • following error found in /var/log/vmware/vcf/sddc-support/backup-/sos.log

2024-06-06T19:18:36.557+0000 ERROR [vcf_sos] [backupservice.py::execute::80::backup-fedc918d-6ebe-4720-bb84-b02ce5397c0b] Traceback (most recent call last):
  File "utils/commandutils.py", line 821, in get_services_version
AttributeError: 'NoneType' object has no attribute 'text'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "backup/sddcmanagerbackup.py", line 265, in export_metadata
  File "utils/commandutils.py", line 829, in get_services_version
Exception: 'NoneType' object has no attribute 'text'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "backup/sddcmanagerbackup.py", line 209, in export_system_configurations
  File "backup/sddcmanagerbackup.py", line 326, in export_metadata
Exception: Exporting SDDC Manager metadata operation failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "services/backupservice.py", line 57, in execute
  File "backup/sddcmanagerbackup.py", line 220, in export_system_configurations
Exception: Backup operation failed for SDDC Manager System Configuration

 

  • The following error can we seen in: /var/log/vmware/vcf/lcm/lcm.log

2024-06-07T16:19:48.765+0000 ERROR [vcf_lcm,0000000000000000,0000] [o.s.boot.SpringApplication,main] Application run
failed
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springfr
amework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to /opt/vmware/vcf/lcm/tm
p
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServer
ApplicationContext.java:165)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:577
)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerAp
plicationContext.java:147)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at com.vmware.evo.sddc.lcm.Application.main(Application.java:29)
Caused by: org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to
/opt/vmware/vcf/lcm/tmp

 

Environment

VCF 4.5.2

Cause

Incorrect Permissions on the /opt/vmware/vcf/lcm/tmp directory

 

Resolution

  1. Take a snapshot of the SDDC Manager VM
  2. su to root
  3. cd /opt/vmware/vcf/lcm
  4. chown vcf_lcm:vcf tmp
  5. systemctl restart lcm
  6. Retry SDDC Mananger Backup