Error: "Failed to get the status for VC log collection configuration" during vCenter Log Collection
search cancel

Error: "Failed to get the status for VC log collection configuration" during vCenter Log Collection

book

Article ID: 442636

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware vSphere ESXi

Issue/Introduction

In VCF Operations 9.x, after configuring log collection in the vCenter Server adapter, the Log Collection status page (Operate > Administration > Configurations > Log Collection > Log Sources) intermittently displays a Failed status. Log ingestion continues to function normally in the Logs > Analyze Logs section despite this UI error. The issue occurs across both the "Collect logs using the cloud proxy/group" and "Collect logs directly into Logs cluster" configurations.

The UI may display the following error message:

Failed to get the status for VC log collection configuration. No permission to check the configuration.


The Cloud Proxy log contains the following error entry in /vcf-log-forwarder/log/log-forwarder.log:

ERROR VcLogCollectionConfigApplier:301 - Failed to get VC syslog configurations: Forbidden - permission denied to access this resource.


Corresponding authorization failures appear in the vCenter Server audit log /var/log/vmware/applmgmt-audit/applmgmt-audit.log:

INFO Session Authentication request for user : `[[email protected]]`. Status : Success
INFO Authorization request by user: `[[email protected]]` for service_id: com.vmware.appliance.logging.forwarding, operation_id: get
INFO Authorization Result: User=`[[email protected]]`, priv=ViewConfiguration, authorized=False
INFO Authorization Result: User=`[[email protected]]`, priv=ModifyConfiguration, authorized=False
INFO Authorization Result: User=`[[email protected]]`, priv=ModifyLocalConf, authorized=False

Environment

  • VCF Operations 9.x
  • VCF Operations for Logs 9.x
  • Log Management 9.x
  • vCenter Server 8.x / 9.x

Cause

This issue occurs when the service account assigned to the vCenter Server adapter lacks the required vCenter Server privileges (ViewConfiguration, ModifyConfiguration, ModifyLocalConf). The VCF Operations UI status validation process checks syslog forwarding configuration on vCenter Server via API; when authorization fails due to restricted account rights, the UI displays a permission failure or Failed status even though background log collection functions normally.

Resolution

  1. Add the service account [[email protected]] (or an Active Directory group containing the service account) to the SystemConfiguration.Administrators group in vCenter Server, ensuring permissions propagate down from the global level.
  2. Log in to VCF Operations as an administrator.
  3. Navigate to Administration > Integrations.
  4. Edit the vCenter Server adapter instance, disable Log Collection, and click Save.
  5. Edit the vCenter Server adapter instance again, enable Log Collection, and click Save.
  6. Allow approximately 10 minutes for log collection tasks to process.
  7. Navigate to Operate > Administration > Configurations > Log Collection > Log Sources and verify that the status displays Configured.

For a complete list of required user privileges and integration requirements, please refer to the Broadcom Technical Documentation:

Additional Information

If using system managed credentials and experiencing this issue, see Known issues and limitations for Log Collection with VCF Operations Log Management which notes this is expected to be resolved in VCF Operations 9.1.2.