Troubleshooting "Role with Name Doesn't Exist" Errors During VCF Operations Custom Role Provisioning
search cancel

Troubleshooting "Role with Name Doesn't Exist" Errors During VCF Operations Custom Role Provisioning

book

Article ID: 458678

calendar_today

Updated On:

Products

VCF Operations VMware vCenter Server

Issue/Introduction

When attempting to remediate or provision vCenter custom roles in VCF Operations, the operation fails for specific vCenter instances. The VCF Operations GUI reports a status of "Not Provisioned," and the logs or error indicator display: ["Role with name 'X' doesn't exist.", "X. Role deleted in the component"]

Environment

VMware Cloud Foundation (VCF) Operations 9.x
vCenter Server 9.x

Cause

This issue is caused by configuration drift. VCF Operations maintains a definition of the custom role as a required configuration.
However, the custom role has either been manually deleted from the target vCenter server, was never created on the new vCenter instance, or the role name does not match the definition expected by VCF Operations. Because the role is missing from the target vCenter, the VCF Operations provisioning engine fails to sync or remediate the configuration.

Resolution

Engineering is aware of this issue. This is planned to be fixed in 9.1.2

To workaround this configuration mismatch, ensure the custom role exists on the target vCenter so that VCF Operations can manage it.

  1. Verify Role Absence:

    • Log in directly to one of the vCenter instances that is reporting as "Not Provisioned."
    • Navigate to Administration > Access Control > Roles.
    • Confirm that the custom role is missing or has been deleted.
  2. Manually Recreate the Role:

    • Manually create the missing role on the vCenter instance using the exact same name as the role defined in VCF Operations.
  3. Trigger Remediation:

    • Return to the VCF Operations UI.
    • Navigate to Manage > Fleet Management > Identity & Access > vCenter Custom Roles.
    • Select the affected vCenter(s) and trigger Remediate.
    • VCF Operations will now detect the role on the target vCenter, verify the configuration, and reconcile the status to "Provisioned".