Deleting or renaming a vDS uplink port fails with: Uplink name is in use by the teaming policy defined at DVPort
book
Article ID: 302218
calendar_today
Updated On:
Products
VMware
Issue/Introduction
Symptoms:
Cannot rename a vDS uplink fort
Renaming a vDS uplink port fails
You see the error:
Uplink name <name> is in use by the teaming policy defined at DVPort <name>
This error is reported when all hosts are removed from the dvSwitch.
In the vSphere Client logs, you see entries similar to:
[:ShowExcp:M: 6] Reconfigure vSphere Distributed Switch: The resource 'dvUplink 1' is in use. DescId: dvs.VmwareDistributedVirtualSwitch.reconfigure, Time: 3/21/2013 11:40:02 AM, Target: dvSwitch MyDVSwitch, Target Guid: (D8B7E920-005E-4D2E-9690-F1FB19C788BC::VmwareDistributedVirtualSwitch:dvs-9574) <TaskInfo type="Vmomi.TaskInfo"> <Key>task-143484</Key> <Task type="ManagedObject">Task:task-143484 [hostname.domainname]</Task> <Name>Vmomi.DistributedVirtualSwitch.Reconfigure</Name> <DescriptionId>dvs.VmwareDistributedVirtualSwitch.reconfigure</DescriptionId> <Entity type="ManagedObject">VmwareDistributedVirtualSwitch:dvs-9574 [hostname.domainname]</Entity> <EntityName>dvSwitch MyDVSwitch</EntityName> <State_>Error</State_> <Cancelled>False</Cancelled> <Cancelable>False</Cancelable> <Error type="Vmomi.Fault.ResourceInUse"> <Message>The resource 'dvUplink 1' is in use.</Message> <FaultMessage> <item type="Vmomi.LocalizableMessage"> <Key>com.vmware.vim.vpxd.dvs.uplinkUsedInTeaming.label</Key> <Arg> <item type="Vmomi.KeyAnyValue"> <Key>uplink</Key> <Value>dvUplink 1</Value> </item> <item type="Vmomi.KeyAnyValue"> <Key>place</Key> <Value>DVPort hlp-452#68635</Value> </item> </Arg> <Message>Uplink name dvUplink 1 is in use by the teaming policy defined at DVPort hlp-452#68635</Message> </item> </FaultMessage> <DetailedMessage>The resource 'dvUplink 1' is in use. </DetailedMessage> <Name>dvUplink 1</Name> </Error>
Cause
This problem occurs when there is a mismatch between the ordering of the VPX_UPLINK_TEAMING table and the VPX_DVS_UPLINK table containing the dvUplink labels.
Resolution
This issue is resolved in vCenter Server 5.5. You can download the vCenter Server 5.5 from the VMware Download Center.