Vmotion of the virtual machine between the HOSTS resulting compatibility warning as (nsx upgrade in progress). which is not accessible.
search cancel

Vmotion of the virtual machine between the HOSTS resulting compatibility warning as (nsx upgrade in progress). which is not accessible.

book

Article ID: 416751

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • vMotion of the virtual machine between the HOSTS resulting compatibility warning as below:

Currently connected network interface" 'Network adapter 1' uses network "DVSwitch[(#########################] NSX port group [dvportgroup-##### ] (nsx upgrade in progress)'. which is not accessible.

Currently connected network interface" 'Network adapter 1' cannot use network", because "the network is under maintenance"

 

  • The upgrade-status flag is set to true if in-place upgrade fails on the ESXi Host for external reasons and the failure to upgrade does not take the DVS out of the upgrade state.

Environment

VMware NSX Data Center 

Cause

During an NSX in-place upgrade, a host's Distributed Virtual Switch (DVS) is put into an upgrade state, which sets an internal "upgrade status flag" to true. This flag signals that the network is under maintenance, thereby preventing vMotion.

Resolution

  • To re-enable vMotion functionality on ESXi host, Manually set the "upgrade status flag" to false using the below commands

To check the upgrade-status flag

nsxcli -c get host-switch upgrade-status 

To set the upgrade-status flag to false

nsxcli -c set host-switch upgrade-status false

Additional Information

In-place Upgrade Fails