When running "Apply Change" in the BOSH Director with the Tag NSX-T VM Objects option enabled, the process fails during compiling packages phase. The following error is returned with the impacted compilation VM:
Unknown CPI error 'Unknown' with message 'Exceeded limit on number of user defined tags for VM, supports only 30' in 'set_vm_metadata' CPI method
The NSX Manager limits the number of user-defined tags per object to 30. This error occurs when the compilation VM exceeds this limit. A known issue in the BOSH vSphere Cloud Provider Interface (CPI) can cause tag duplication or leakage on compilation VMs. As these VMs are reused over time, the number of tags accumulates until the 30-tag limit is reached.
Until a fix is available in a future Operations Manager release, implement the following workaround:
Disabling this feature will prevent the accumulation of redundant tags and allow the compilation VMs to function correctly.