Patching fails with "Exception occurred in postInstallHook for B2B-pathing. Please check the logs for more details. Take corrective action and then resume."
search cancel

Patching fails with "Exception occurred in postInstallHook for B2B-pathing. Please check the logs for more details. Take corrective action and then resume."

book

Article ID: 394466

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Failure at stage software-update
  • Installation Failed: Exception occurred in postInstallHook for B2B-pathing. Please check the logs for more details. Take corrective action and then resume.
  • Logs located at /var/log/vmware/applmgmt/PatchRunner.log show similar messages to below:

YYYY-MM-DDTHH:MM:SS applmgmt:CollectRequirements ERROR applmgmt.file_based_backup_recovery An error occurred in running job: {messages : [LocalizableMessage(id='com.vmware.appliance.update.install_in_progress', default_message='Update installation is in progress', args=[], params=None, localized=None)], data : None, error_type : NOT_ALLOWED_IN_CURRENT_STATE}
YYYY-MM-DDTHH:MM:SS applmgmt:CollectRequirements ERROR applmgmt.file_based_backup_recovery An error occurred in running job: {messages : [LocalizableMessage(id='com.vmware.appliance.update.install_in_progress', default_message='Update installation is in progress', args=[], params=None, localized=None)], data : None, error_type : NOT_ALLOWED_IN_CURRENT_STATE}
YYYY-MM-DDTHH:MM:SS vmdir:Patch ERROR LdapConnection LDAP Search failed.Error Message: DNToEID (9703)((MDB_NOTFOUND: No matching key/data pair found)(cn=aggregate,cn=schemacontext))
YYYY-MM-DDTHH:MM:SS vmdir:Patch ERROR LdapConnection Error Modifying User DN:cn=Administrators,cn=Builtin,dc=<domain>,dc=local.Error Message:Attribute (member) value (cn=<vCenterFQDN>,ou=Domain Controllers,dc=<domain>,dc=local) exists
YYYY-MM-DDTHH:MM:SS ERROR service_manager Service cannot be started. Error: Error executing start on service vsan-health. Details {
YYYY-MM-DDTHH:MM:SS ERROR vmware_b2b.patching.phases.patcher Patch hook Patch got unhandled exception.
YYYY-MM-DDTHH:MM:SS ERROR __main__ Patch vCSA failed

  • Logs located at /var/log/vmware/vsan-health/vmware-vsan-health-service.log  show similar messages to below:

YYYY-MM-DDTHH:MM:SS ERROR vsan-mgmt[2254189] [VsanVcExtension::_Connect opID=noOpId] Get vpxd connection error ('unknown error',), trying relogin
YYYY-MM-DDTHH:MM:SS ERROR vsan-mgmt[2254189] [VsanVcExtension::_Connect opID=noOpId] Get vpxd connection error ('unknown error',), trying relogin

Environment

VMware vCenter Server 8.x

Cause

Expired certificate present in the source vCenter and presented to the patch vCenter

Resolution

Additional Information