vMotion of a virtual machine between hosts results in a compatibility warning: '(nsx upgrade in progress)'
search cancel

vMotion of a virtual machine between hosts results in a compatibility warning: '(nsx upgrade in progress)'

book

Article ID: 416751

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • vMotion of the virtual machine between the ESXi Hosts results in a compatibility warning as seen 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. 

This issue also occurs if the upgrade completes but the host fails to send the final cleanup status to the NSX Manager.

Resolution

  • To re-enable vMotion functionality on ESXi host, manually set the "upgrade status flag" to false using the following 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

Reference Doc: In-Place Upgrade Fails