ESXi hosts fail to enter maintenance mode in VCSA
search cancel

ESXi hosts fail to enter maintenance mode in VCSA

book

Article ID: 316533

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

 

  • ESXi hosts fail to enter maintenance mode with the error "failed to enter namespaces maintenance mode on the node"

  • WCP service failing to start.

  • /var/log/vmware/eam/eam.log
YYYY-MM-DDTHH:MM:SS.MSZ | ERROR | vim-monitor | VcConnection.java | 217 | Failed to login to vCenter as extension. vCenter has probably not loaded the EAM extension.xml yet.: Cannot complete login due to an incorrect user name or password.
  •  /var/log/vmware/wcp/wcpsvc.log
YYYY-MM-DDTHH:MM:SS.MSZ  error wcp [opID=EAMAgent] Failed to list EAMAgent. Err ServerFaultCode: EAM is still loading from database. Please try again later.
  • VCLS VMs are not being created under vCenter clusters.



Environment

VMware vCenter Server 7.0.x

VMware vCenter Server 8.0.x

Cause

This can occur due to a discrepancy between the "vpxd-extension" certificate stored in VECS and the certificate information stored in the vCenter Server Database for the EAM extension.

Resolution

Update the certificate for the Extension in VPXD by following any of below options: 

Option 1 - Update extensions using fixcerts script

Update the extension's certificate using fixcerts script:

  • Download the fixcerts script from :

Replace certificates on vCenter server using the Fixcerts script

  • Copy the downloaded script to VCSA
  • Execute the script using below arguments to update the extensions
python fixcerts.py update --ExtensionType all

Sample screenshot:

 
Note: