{"push_id":601604167,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"2d799f932cc53f40973e30668d83c25e0e257fa3","before":"b9a58480262958b04c10a861bdefc9ebb9f7240d","commits":[{"sha":"7294132808d7a71154fb0cf7862bcde8d4b82d2c","author":{"email":"fd0d713a38ab297d4f0f590081fce670756218c1@nttdata.com","name":"Rajesh Tailor"},"message":"Make service-update work in API cells\n\nnova service-update is handled by HostAPI.service_update method.\nNormally, it searches for relevant Service object in DB and calls\nupdate with parameters-to-update on it. However, in API cell it is\nover-ridden so that service_update message can be routed to appropriate\ncell. Once the destination cell is reached, the message processor\ninvokes HostAPI.service_update to perform the actual update. This\nworks in case of child cells.\nHowever in case of API cells, since HostAPI.service_update has been\nover-ridden, when the message processor invokes HostAPI.service_update\nto perform actual update of the service, the API cell tries to again\nroute the message and fails in doing so with an AttributeError (as the\nmessage is already at the destination cell and can not be further\nrouted).\nThis patch moves the object update() and save() call to a separate\nmethod and modifies the message processor to call the new method. The\noriginal service_update is also modified to call the new method.\n\nChange-Id: I1da32d83e0decfa7240a85bbd45354d391bba021\nCloses-Bug: 1398349","distinct":true,"url":"https://api.github.com/repos/openstack/nova/commits/7294132808d7a71154fb0cf7862bcde8d4b82d2c"},{"sha":"2d799f932cc53f40973e30668d83c25e0e257fa3","author":{"email":"d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","name":"Jenkins"},"message":"Merge \"Make service-update work in API cells\"","distinct":true,"url":"https://api.github.com/repos/openstack/nova/commits/2d799f932cc53f40973e30668d83c25e0e257fa3"}]}