Comment 2 for bug 1361180

Revision history for this message
RedBaron (dheeraj-gupta4) wrote :

There is a common problem with all service related methods in HostAPI.
In `service_get_all` (which corresponds to service-list), the ServiceProxy is used because we can't cast objects returned by cells to Service objects as ID's returned by cells contain full cell-path and it needs to be stripped out before creating Service objects.

The use of this proxy needs to be implemented in other functions as well -
service_get_by_compute_host - used by evacuate
service_update - used by service-enable and service-disable

Rajesh if you are no longer working on this, I have a patch ready for this which I can push.