Unable to collect VCF Management logs from the SOS utility on SDDC Manager
search cancel

Unable to collect VCF Management logs from the SOS utility on SDDC Manager

book

Article ID: 451560

calendar_today

Updated On:

Products

VCF Operations VMware Cloud Foundation VMware SDDC Manager / VCF Installer

Issue/Introduction

The following error is observed when collecting vcf-mgmt-svcs-logs from SDDC Manager

root@sddc-mgr [ /home/vcf ]# /opt/vmware/sddc-support/sos --vcf-mgmt-svcs-logs --zip
Welcome to Supportability and Serviceability(SoS) utility!
Performing SoS operation for mgmtdomain domain components
Logs : /var/log/vmware/vcf/sddc-support/sos-2026-08-10-12-04-53-3693182
Log file : /var/log/vmware/vcf/sddc-support/sos-2026-08-10-12-04-53-3693182/sos.log
Operation failed for : [VCF_MANAGEMENT_SERVICES]
For detailed report please refer : /var/log/vmware/vcf/sddc-support/sos-2026-08-10-12-04-53-3693182/report.json
Created /var/log/vmware/vcf/sddc-support/sos-2026-08-10-12-04-53-3693182.tar.gz


The following error is observed in the report.json file in the failed SOS log bundle. 

var/log/vmware/vcf/sddc-support/sos-####-##-##-##-##-##-#######/report.json

    "VCF_MANAGEMENT_SERVICES": {
        "overall_status": "COMPLETED_WITH_FAILURE",
        "message": "",
        "subtasks": [
            {
                "name": "VCF Management Services:###.###.###",
                "status": "FAILED",
                "message": "[VCF Management Services:vsp.vcf.lab] Unknown Exception occurred log collection. Please check sos.log for more details or contact support. Error: AssertionError: Failed to get VCF Management Services:###.###.### token: {'error': 'access_denied', 'error_description': 'Invalid credentials'}",
                "errors": "AssertionError: Failed to get VCF Management Services:vsp.vcf.lab token: {'error': 'access_denied', 'error_description': 'Invalid credentials'}"
            },
            {
                "name": "VCF Management Services:Bootstrap:###.###.#.###",
                "status": "SKIPPED",
                "message": "VCF Management Services:Bootstrap Bootstrap not found in vcenter. Skip bootstrap vm log collection"
            }
        ]

Environment

VMware Cloud Foundation 9.1

Cause

The service account (svc-sddc-manager-admin) that SDDC Manager leverages to generate the log bundle is out of sync with the VCF Management Services.

Resolution

  1. SSH into the SDDC Manager with the vcf user and then elevate to root with su.

  2. Restart the commonsvcs on SDDC Manager
    systemctl restart commonsvcs
  3. Retry the log collection from the SOS utiity.