NSX unable to release segment ports after CommVault task is finished
search cancel

NSX unable to release segment ports after CommVault task is finished

book

Article ID: 432616

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Commvault DR solution is used as the disaster recovery product.
  • Commvault performs failover testing every two hours to ensure the validity of the recovery virtual machines.
  • These tests leave behind stale ports and over time the available ports will be exhausted.
  • In vCenter's /var/log/vmware/vpxd.log, you see the snapshot revert operation for the VM:


    vpxd.log:

    2026-02-27T16:29:07.668Z info vpxd[05756] [Originator@6876 sub=vpxLro opID=f7a10c3] [VpxLRO] -- BEGIN task-26704435 -- vm-####### -- vim.VirtualMachine.revertToCurrentSnapshot -- ########-####-####-####-############(########-####-####-####-############)

  • This is going to have the effect of creating a new VM which will then create a new logical port and not reuse the old port.  NSX sees this as a new attachment and not a VIF migration. This is seen in NSX Managers' /var/log/cloudnet/nsx-ccp.log you'll see:

    nsx-ccp.log:

    2026-02-27T16:28:11.166Z  INFO Owl-worker-0 BindingsStateImpl 74234 - [nsx@6876 comp="nsx-controller" level="INFO" subcomp="ip-discovery"] updateVifAttachment newVifId ########-####-####-####-############ is changed from oldVifId (NULL) for lspId ########-####-####-####-############

Environment

VMware NSX 4.2.3.2

Cause

Commvault uses snapshots to recover virtual machines. 

 

Resolution

Manually Delete the port using the NSX Manager UI.

  1. In the NSX manager select the MANAGER tab.
  2. Select Logical Switches ⇒ Ports
  3. Select all stale ports
  4. Click DELETE
  5. Task Complete

 

NOTE: If the Manager button is not visible, use Configure the User Interface Settings to enable it.