Cloud Resources are unavailable"Cloud Resources are unavailable""Replication destination container is missing, unable to protect or recover VM"VMware HCX
This issue is due to an incorrect username or password used for site pairing.
Example 1
Logs: common/logs/admin/web.log
<time stamp> 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
<time stamp>[https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: ######-####-####-####-##########] WARN c.v.vca.hybridity.util.NSPRestClient- Login to cloud https://######.example.com failed, with status 401: <time stamp> [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: ######-####-####-####-########## WARN c.v.vca.hybridity.util.NSPRestClient- Invalid credentials logging into remote endpoint: https://######.example.com, userName: [email protected] <time stamp> [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: ######-####-####-####-##########] WARN c.v.vca.hybridity.util.NSPRestClient- Login failure to 20230126221226503-01159884-####-####-####-############ <time stamp> [https-jsse-nio-8443-exec-7, Ent: HybridityAdmin, , TxId: TxId: ######-####-####-####-############] WARN c.v.v.h.inventory.InventoryAdapter- Can not collect resources from the cloud: https://######.example.com java.lang.RuntimeException: Invalid credentials
Option 1
# systemctl restart app-engine# systemctl restart web-engine# systemctl restart appliance-management
Option 2 - For HCX 4.10 and earlier versions
Note:
If there are no underlying issues, site pairing via the API should successfully re-establish the connection. It has been observed that due to stale entries in the 'RemotingOutbox' collection due to the site pairing being down, the site pairing via the API may not help. In such cases, it is necessary to check the status of the 'RemotingOutbox' in the HCX database and clear any outdated entries. Please contact Broadcom Support for more information on this: Contact Broadcom support