The operation is not allowed in the current state. Host name cannot enter maintenance mode due to host latch failure."com.vmware.nsx.management.nsxt) remained stuck at 0% in vCenter./var/log/vmware/vpxd/vpxd.log:
YYYY-MM-DDTHH:MM:SS error vpxd[05773] [Originator@6876 sub=MoHost opID=########] [CreateApiProvider: : errorCb] Providers stack failed: Error:-- > system_error-- > Messages:-- > vapi. send. failed<Send of frame failed: N7Vmacore15SystemExceptionE (Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.) [context]zKq7AV#####################################uMAAC3/oPbGliYy5zby42AA == [/context]>YYYY-MM-DDTHH:MM:SS error vpxd[05806] [Originator@6876 sub=MoHost opID=########] WCP enterMaintenanceMode vAPI returns error: Error:-- > system_error-- > Messages:-- > vapi. send. failed<Send of frame failed: N7Vmacore15SystemExceptionE (Connection refused: The remote service is not running, OR is overloaded, OR a firewall is rejecting connections.) -> [context]zKq7AV#####################################uMAAC3 == [/context]>-- >YYYY-MM-DDTHH:MM:SS info vpxd[05806] [Originator@6876 sub=MoHost opID=########] Waiting 60 secs then invoke WCP enterMaintenanctenanceMode vAPI
/var/log/vmware/wcp/wcpsvc.log
YYYY-MM-DDTHH:MM:SS error wcp [nsxtlib/serverinfo.go:247] Failed to parse NSX extension server URL; https:// ;; communications error to Unreachable DNS IP#53: timed out:443, err: parse "https:// ;; communications error to Unreachable DNS IP": invalid character " " in host nameYYYY-MM-DDTHH:MM:SS error wcp [vclib/nsx.go: 52] Received error seeding nsxManagersCache: failed to parse NSX server url: parse "https:// ;; communications error to Unreachable DNS IP": invalid character " " in host nameYYYY-MM-DDTHH:MM:SS panic wcp [cmd/main.go:481] Unable to initialize NSX extension monitor: failed to parse NSX server url: parse "https:// ;; communications invalid character " " in host name
service-control --status --allservice-control --start wcpVMware vCenter Server 8.x
VMware Cloud Foundation 5.x
Follow the below procedure to diagnose and resolve the issue:
vmon-cli --start wcp