BOSH Director Compilation Error Due to NSX-T Tag Limit
search cancel

BOSH Director Compilation Error Due to NSX-T Tag Limit

book

Article ID: 453361

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

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

 

Cause

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.

Resolution

Until a fix is available in a future Operations Manager release, implement the following workaround:

  1. Navigate to the BOSH Director configuration settings on Operations Manager UI. 
  2. Locate the Tag NSX-T VM Objects option.
  3. Disable this option (it is disable by default)
  4. Apply the changes.

Disabling this feature will prevent the accumulation of redundant tags and allow the compilation VMs to function correctly.