We have a lot of old virtual machine resources we'd like to clean out of our VCOPS environment, but despite having controller.properties stanzas like below (as recommended in KB 2020638) and restarting vcops-admin, no resources ever seem to be deleted:
#automatically delete not existing resources
deleteNotExisting=true
#time in hours an object must be in the not existing state before it can be deleted
deletionPeriodInHours=168
#time in hours between resource deletion scheduling
deletionSchedulePeriod=24
I see these lines in admin.log but I don't know if they're related:
Oct 10, 2014 11:05:04 AM - User system Deleted 20 Resources.
Oct 10, 2014 11:05:06 AM - User system Deleted 20 Resources.
Oct 10, 2014 11:05:08 AM - User system Deleted 20 Resources.
Even if it did delete 60 resources at one point, there are hundreds of VMs with no metrics, with relationships to vCenters that don't exist.