vRO Ad Hoc Backup fails with '[...] Tag 'HDID/Protector Ad Hoc' already in use [...]'

Ops Center Protector VMware Application Guide

Version
7.5.x
Audience
anonymous
Part Number
MK-99PRT004-04

Problem:

The following message is logged in vRO when running the 'Ad Hoc Backup' workflow:

(com.hitachivantara.protector.backup/performAdHocBackupOf) Error in (Dynamic Script Module name : performAdHocBackupOf#17)

HdidPluginException[Cannot perform Ad Hoc Backup, Tag 'HDID/Protector Ad Hoc' already in use. Other VM(s) may be backed up because the following objects are tagged: [Name: , Type: VirtualMachine, Id: vm-4398]

Please try again later or contact your system administrator if the failure persists.

Cause:

If you manually assign the 'HDID/Protector Ad Hoc' tag to a VM and subsequently delete that VM, then run the 'Ad Hoc Backup' workflow on any other VM, the operation will fail with the above error.

Solution:

Delete the 'HDID/Protector Ad Hoc' tag from vSphere then recreate it.

The 'Ad Hoc' tag should never be manually assigned. It should only be automatically assigned by Protector vRO workflow scripts.