xen-org/xen-api — pull request #648 by rabink (2012-05-25 18:43:23+00:00)
Title: CA-58991: Host.evacuate error messages are broken

Making Host.evacuate error messages more sensible.

Previously host-evacuate failed with:
```
Not enough host memory is available to perform this operation
needed: 9030f59c-273f-5e28-04c1-2ce399d50985 (vm24)
available:
```
Now it'll list which VMs cannot be moved any why:
```
This host cannot be evacuated.
errors:
371ac4ab-d3e5-d870-2e8d-c6ae05917479 (Copy of Citrix WLB Virtual Appliance (2)): HOST_NOT_ENOUGH_FREE_MEMORY
45754ce1-7c3f-3cf3-8206-bc63d2d163f8 (Citrix WLB Virtual Appliance): HOST_NOT_ENOUGH_FREE_MEMORY
```

Signed-off-by: Rabin Karki