Running vCenter 6.5, ESXi 6.5
I was using a 30-day evaluation license for vCenter Server. When my evaluation period expired, all of my hosts disconnected from vCenter. I just purchased a vCenter Server license and installed the key. Now when I attempt to reconnect my host, I'm met with the following error message:
A general system error occurred: Error[VdbODBCError] (-1) "ODBC error: (23505) - ERROR: duplicate key value violates unique constraint "pk_vpx_vm_virtual_device";
Error while executing the query" is returned when executing SQL statement "INSERT INTO VPX_VM_VIRTUAL_DEVICE (ID, DEVICE_KEY, CONN_AL_GU_CONTROL_FLAG, CONN_CONNECTED_FLAG, CONN_START_CONNECTED_FLAG, CONN_STATUS, DEVICE_INFO_SUMMARY, DEVICE_INFO_LABEL, DEVICE_CONTROLLER_KEY, DEVICE_UNIT_NUMBER, DEVICE_TYPE, DEVICE_TEXT) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
I suppose I have two questions:
- Why am I getting this error message and how can I fix it?
- If I cannot fix this error, if I remove the host from inventory will I be able to re-add it without any problems? The message I get when I go to remove the disconnected host gives a very scary warning message that all of my VMs on the host will be removed. I would just like to be assured that my host will not be altered and my VMs will not be deleted!
Thank you