Currently connected network interface" 'Network adapter #' cannot use network '<host switch>', because "the network is under maintenance".the network is under maintenance" as well. 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"
VMware NSX
The NSX upgrade process puts the host's DVS into an upgrade state, as required. The problem comes up due to failure to complete final upgrade steps, typically due to external factors such as temporary connection issues between NSX Manager and the hosts or resource contention.
Follow steps from "In-place Upgrade Fails" documentation: In-place Upgrade Fails.
nsxcli -c get host-switch upgrade-statusnsxcli -c set host-switch upgrade-status false