After NSX-T In-place upgrade failure, vMotions off host fail because "the network is under maintenance"
search cancel

After NSX-T In-place upgrade failure, vMotions off host fail because "the network is under maintenance"

book

Article ID: 317143

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction


After NSX-T In-place upgrade failure on a host, vMotions off of the host are failing with "Currently connected network interface" 'Network adapter X' cannot use network '<host switch>', because "the network is under maintenance".


 

The error above would be observed if we are migrating a VM from the host that is having an issue to an outside host.

Conversely, if we are migrating VMs to the host in question, the following errors would be observed:

Environment

VMware NSX

Cause

This is caused by the NSX upgrade process putting the host's DVS into an upgrade state as required, and the host failing to complete the upgrade for external reasons. The failure to upgrade does not take the DVS out of the upgrade state.

Resolution

Follow steps from "In-place Upgrade Fails" documentation (select correct version): In-place Upgrade Fails
 

  1. Log in to vCenter Server and place the host in question in maintenance mode.
  2. For an ESXi 7.0 host, use the following command to clear the upgrade status flag on the host:
        nsxcli -c set host-switch upgrade-status false
  3. vMotion the VM's out of the host.
  4. Reboot the host and resume the upgrade process.

Additional Information

Impact/Risks:
Without evacuating VMs and rebooting the host in question, the upgrade cannot proceed.