ZAPI-689: PUT /vms does not account for VMs that no longer exist


Won't Fix: The problem described is an issue which will never be fixed.
(Resolution Date: 2015-12-04T04:04:56.000Z)


On startup vm-agent makes a PUT /vms request to VMAPI. The PUT /vms request is made so to ensure that VMAPI has a correct representation of the VMs on a given CN. Unfortunately VMAPI's PUT /vms route does not account for VMs not sent by vm-agent, which can result in VMAPI having retaining VMs that no longer exist.