vCenter Custom Roles Page Blank in VCF Ops Due to Missing vcf_resource_id in Database
search cancel

vCenter Custom Roles Page Blank in VCF Ops Due to Missing vcf_resource_id in Database

book

Article ID: 452161

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Imported vCenter Custom Roles are not displayed in the VCF Ops > Identity and Access > vCenter Custom roles interface.



     
  • The UI appears blank. Furthermore, attempts to re-import a previously imported role may fail, with the system indicating the role already exists.



  • Output of GET /api/fleet-management/iam/components/roles from https://vcfops_fqdn>/suite-api is blank



  • Error in /storage/log/vcops/log/analytics-wrapper.log in VCF Ops
    {{ERROR Exception getting the list of config document
    java.lang.NullPointerException: element cannot be mapped to a null key
    at ConfigDocumentManager.populateVcfResourceTemplateOperationStatus(ConfigDocumentManager.java:778)}}
  • Error in /storage/vcops/log/api.log in VCF Ops
    ERROR Failed to retrieve config templates. Result is null ERROR Error occurred: Failed to get template details for template name: [RoleName]

Environment

VMware Cloud Foundation Operations 9.1

Cause

This issue is caused by a NullPointerException during the execution of ConfigDocumentManager.populateVcfResourceTemplateOperationStatus. This exception occurs when one or more records in the config_apply database table contain a null vcf_resource_id. Because the service uses a grouping operation on this field, the presence of a null value causes the entire list-building process to fail, leading to the blank UI. This condition typically arises following an interrupted or failed template assignment operation.

Resolution

This issue requires database-level verification and remediation. Contact Broadcom Support and provide the relevant diagnostic logs for further analysis and resolution.