When upgrading Operations Manager (e.g., from version 3.1.x to 3.3.x) or applying changes, the BOSH Director fails to provision the new VM. The task fails with a Cloud Provider Interface (CPI) error similar to the following:
CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"Failed to create network interface for nic_group 'MYGROUP': The specified address is already in use.","ok_to_retry":false}
This issue occurs when the private IP address assigned to the OpsManager or BOSH VM is still being held by a stale network interface (NIC) or another resource in the underlying infrastructure. Even if the previous VM has been deleted, the network interface may persist, preventing the CPI from creating a new NIC with that same IP address.
To resolve this issue, manually clear the IP conflict in the infrastructure:
nic_group mentioned in the error (e.g., MYGROUP).Related Article: