This message can be displayed when you attempt to perform a migration, so this documentation was created to fix the communication between the HCX manager and the vCenter registered on it.
Symptoms:
HCX
As per the logs this is because of Bad username or password used for site pairing.
Example 1
Logs: common/logs/admin/web.log
2024-06-17 08:28:00.539 UTC [https-jsse-nio-8443-exec-4, , , TxId: ] ERROR c.v.v.h.a.HybridityAuthenticationEntryPoint- AuthenticationEntryPoint - got AuthenticationException
org.springframework.security.authentication.BadCredentialsException: Error validating user [email protected]: Status code: 500, Reason: Internal Server Error<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode xmlns:ns0="http://docs.oasis-open.org/ws-sx/ws-trust/200512">ns0:Fa
iledAuthentication</faultcode><faultstring>Password of the user logging on is expired. :: Password of the user logging on is expired. :: User account expired: {Name: ########, Domain: vsphere.local}</
faultstring></S:Fault></S:Body></S:Envelope>
Example 2
Logs: common/logs/admin/web.log
2023-04-06 18:44:16.881 UTC [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: d08d7ff0-####-####-####-639666bd83dc] WARN c.v.vca.hybridity.util.NSPRestClient- Login to cloud https://######.example.com failed, with status 401: 2023-04-06 18:44:16.881 UTC [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: d08d7ff0-####-####-####-639666bd83dc] WARN c.v.vca.hybridity.util.NSPRestClient- Invalid credentials logging into remote endpoint: https://######.example.com, userName: [email protected] 2023-04-06 18:44:16.881 UTC [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: d08d7ff0-####-####-####-639666bd83dc] WARN c.v.vca.hybridity.util.NSPRestClient- Login failure to 20230126221226503-01159884-####-####-####-############ 2023-04-06 18:44:16.882 UTC [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: d08d7ff0-####-####-####-639666bd83dc] WARN c.v.v.h.inventory.InventoryAdapter- Can not collect resources from the cloud: https://######.example.com java.lang.RuntimeException: Invalid credentials
Resolution for example 1
# systemctl restart app-engine
# systemctl restart web-engine
# systemctl restart appliance-management
Resolution for example 2
Impact/Risks:
It could cause migration failures due to communication issues between sites