Failed add rack causing SDDC Manager inventory discrepancy
book
Article ID: 344793
calendar_today
Updated On:
Products
VMware Cloud Foundation
Show More
Show Less
Issue/Introduction
Symptoms:
Adding rack fails after host discovery is completed and time sync fails with "host no longer exists" error message. "at com.vmware.vrack.vrm.timesync.tasks.UpdateEsxiTimeTask.execute(UpdateEsxiTimeTask.java:54) <host name> no longer exists in the rack "
Environment
VMware Cloud Foundation 2.3.x
Resolution
Do not remove hosts from rack while add rack operation is in progress
Workaround: To clean up follow the below workaround :-
curl -i -k -X DELETE https://localhost:8443/vrm-ui/api/1.0/prm-service/hosts/<host name>
curl -i -k -X DELETE https://localhost:8443/vrm-ui/api/1.0/prm-service/hosts/<host name>
Delete the entries from timesync table for the hosts
Delete the entries from the tables in Cassandra (evosddcbringup schema) for the tables esxihostconfigbybringup, esxihostconfig for the hosts in question
Restart HMS out of band
Restart VRM
Retry failed add rack workflow
Feedback
thumb_up
Yes
thumb_down
No