Virtual Distributed Switches (vDS) cannot be imported to vCenter Server 5.5 using the Virtual Distributed Switches (vDS) backup/restore functionality
search cancel

Virtual Distributed Switches (vDS) cannot be imported to vCenter Server 5.5 using the Virtual Distributed Switches (vDS) backup/restore functionality

book

Article ID: 328286

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
When running vSphere 5.5 with Virtual Distributed Switches (vDS), you experience these symptoms:
  • Cannot import a vDS to a vCenter Server
  • Importing a Distributed Switch fails
  • LACP enhanced mode upgrade was performed at some point
  • In the vpxd log file, you see entry similar to:

    YYYY-MM-DD TIME.558+01:00 [00628 error 'featurelacp' opID=32639d2c] [Lacp::ValidateLacpInDvpgConfig] Enabling or updating single lag is not allowed as lacpApiVersion is [multipleLag]. 2014-06-11T12:07:06.564+01:00 [00628 error 'featurelacp' opID=32639d2c] [Lacp::ThrowApiConflict] lacpApiVersion [multipleLag] conflicts with the configuration of lag on the vds 2014-06-11T12:07:06.674+01:00 [00628 error 'dvsvpxdMoDvsManager' opID=32639d2c] [MoDvsManager::CreateNewEntity] Import Failed while creating DVS from Backup with key[47 52 13 50 cb a9 d8 85-c1 5a b6 7e 92 33 a4 df]. Fault:[vim.fault.ConflictingConfiguration]


Cause

The issue occurs due to a problem with the Virtual Distributed Switches (vDS) upgrade process, which does not handle the LACP version upgrade correctly.

Resolution

This is a known issue affecting upgraded vDS switches in vCenter Server 5.5. Currently there is no resolution.

To work around this issue, a modification of the vCenter Server database is required to make the switch export correctly.

To modify the database and allow correct vDS export:

  1. Log in to the source vCenter Server database using SQL management studio
  2. Run this SQL script prior to exporting the vDS switch:
update VPX_DVPORT_SETTING
set VPX_DVPORT_SETTING.LACP_ENABLE = NULL, VPX_DVPORT_SETTING.LACP_MODE = NULL
from VPX_DVPORT_SETTING B
inner join VPX_DVS A
on A.ID = B.DVS_ID AND A.PRODUCT_VERSION = '5.5.0' AND A.LACP_API_VERSION = 'multipleLag';


Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box

For information about the location of vCenter Server log files, see Location of vCenter Server log files (1021804).
For more information about enhanced mode LACP vDS switches in vSphere 5.5, see Converting to Enhanced LACP Support on a vSphere Distributed Switch in the vSphere Web Client (2051311).

Location of vCenter Server log files
Converting to Enhanced LACP Support on a vSphere Distributed Switch in the vSphere Web Client
分散仮想スイッチ (vDS) のバックアップ/リストア機能を使用して vDS を vCenter Server 5.5 にインポートできない