While using the Commvault backup with VMware vCenter tag-based discovery rules, the inventory of VMs is not being discovered.
It fails with the below error:
Error: Could not find [Tag] [VM-backup-*] to discover virtual machines
Below is the log snippet from vpxd:
YYYY-MM-DDTHH:MM:SSZ error vpxd[#######] [Originator@6876 sub=Authorize opID=5b191f05-####-####-a9ff-7facbc###### Authz-75] MoRef: vim.OpaqueNetwork:network-o931069 not found. Error: N5Vmomi5Fault21ManagedObjectNotFound9ExceptionE(Fault cause: vmodl.fault.ManagedObjectNotFound
VMware vCenter Server 9.x
VMware vCenter Server 8.x
VMware vCenter Server 7.x
The rule is configured using a tag filter such as VM-backup-* and the vCenter does not support wildcard tagging or values
Modify the tagging rule in Commvault to use the exact tag name or value that exists in vCenter
For example, instead of VM-backup-*, use “VM-backup-VM Name”
<PID> 345c6 MM/DD HH:MM:SS 10839883 VSDisc::ProcessContent_Tag() - Processing Tag [Tag:34] [*Contingency][]<PID> 345c6 MM/DD HH:MM:SS 10839883 GetMutex() - Waiting for mutex<PID> 345c6 MM/DD HH:MM:SS 10839883 GetMutex() - Mutex acquisition succeeded<PID> 345c6 MM/DD HH:MM:SS 10839883 Execute() - Request failed [GET] [https://<VC_FQDN>/rest/com/vmware/cis/tagging/tag]<PID> 345c6 MM/DD HH:MM:SS 10839883 Execute() - Response [Unauthorized - {"type":"com.vmware.vapi.std.errors.unauthenticated","value":{"error_type":"UNAUTHENTICATED","messages":[{"args":[],"default_message":"Authentication required.","id":"com.vmware.vapi.endpoint.method.authentication.required"}],"challenge":"Basic realm=\"VAPI endpoint\",SIGN realm=##############################,service=\"VAPI endpoint\",sts=\"https://<VC_FQDN>/sts/STSService/<vSphere_SSO>\""}}]<PID> 345c6 MM/DD 1HH:MM:SS 10839883 GetTagsListForTagName() - Found no matches for tag [*Contingency]