'Return a service entry for a compute host in a certain cell.'

@oslo_messaging.expected_exceptions(exception.CellRoutingInconsistency)
def service_get_by_compute_host(self, ctxt, host_name):

    (cell_name, host_name) = cells_utils.split_cell_and_item(host_name)
    response = self.msg_runner.service_get_by_compute_host(ctxt, cell_name, host_name)
    service = response.value_or_raise()
    service = cells_utils.add_cell_to_service(service, response.cell_name)
    return service
