Upgrading vSphere Distributed Switch after upgrading vCenter to 6.7 shows the message “An Upgrade for the vSphere Distributed switch in datacenter is in progress”
search cancel

Upgrading vSphere Distributed Switch after upgrading vCenter to 6.7 shows the message “An Upgrade for the vSphere Distributed switch in datacenter is in progress”

book

Article ID: 318804

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

After upgrading to vCenter 6.7 and then attempting vSphere distributed switch upgrade from vDS 6.5 to vDS 6.6 version via web client results in the following message “An Upgrade for the  vSphere Distributed switch in datacenter is in progress

Environment

VMware vCenter Server 6.7.x
VMware vCenter Server 7.x
VMware vCenter Server 8.x

Cause

The VDS property is not synchronized with the current status in the vpxd memory and database.

Resolution

This is resolved in 6.7 U2 - Release-Notes.
Download Broadcom products and software through KB-142814

You might see a message "An Upgrade for the vSphere Distributed switch in datacenter is in progress" even after the upgrade is complete. This happens if no host member is available in the vSphere Distributed Switch configuration, or if a host member has failed to upgrade several times.
This issue is resolved in 6.7 U2 release. If you already face the issue that no host member is available in the VDS, you must do the following:

Workaround 1:

Backup the vCenter database - for more information refer KB-316471

Login to vCenter using Putty and run below commands.

To connect to the VCDB, run the command -->   /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
To update record from VCDB,  run the command -->    update vpx_dvs upgrade_status set upgrade_status=0;
To exit from VCDB,  run the command -->   \q

From the the appliance shell, run the command to restart vpxd service  -->   vmon-cli -r vpxd


Workaround 2:

Add a new portgroup on the VDS and then delete the newly added portgroup.
This will make the H5 client  to show the synced status.



Additional Information