VMware Cloud Director 10.4
VMware Cloud Director 10.4.1
This issue can occur if Cloud Director requests that a recommendationKey key is removed in vCenter but this recommendationKey key no longer exists in vCenter.
Such recommendationKey keys are part of SDRS reservations which are either timed out automatically by vCenter or cleared on request.
If Cloud Director believes that a key is still present but vCenter has already removed it then this error can occur.
This is a Known Issue in VMware Cloud Director 10.4 and 10.4.1.
The issue resolved in 10.4.2-GA
If you are unable to upgrade to 10.4.2, you can leverage the workaround below:
Workaround:
To workaround this issue the stale reservations referencing the recommendationKey key must be removed from the Cloud Director Database.
select * from sdrs_reservation;
select * from reservation;
Delete from sdrs_reservation;
Delete from reservation;
This is not a permanent workaround, and should the issue rise again, the same steps must be followed.