def CancelJob(self, job_id):
    logging.info("Cancelling job %s", job_id)

    return self._ModifyJobUnlocked(job_id, lambda job: job.Cancel())
Cancels a job.
dataset/ETHPy150Open ganeti/ganeti/lib/jqueue/__init__.py/JobQueue.CancelJob