projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
6518: Log when container is cancelled.
[arvados.git]
/
services
/
crunch-dispatch-slurm
/
crunch-dispatch-slurm.go
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
index 29d58c528eba673532ff77ac62279913ec5111b2..e053c21d7b3c0e773dc97ec5010f2436ef3ffca6 100644
(file)
--- a/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
+++ b/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
@@
-174,6
+174,7
@@
func run(uuid string, crunchRunCommand string, priorityPollInterval int) {
log.Printf("Error getting container info for %v: %q", uuid, err)
} else {
if container.Priority == 0 {
+ log.Printf("Canceling container %v", uuid)
priorityTicker.Stop()
cancelcmd := exec.Command("scancel", "--name="+uuid)
cancelcmd.Run()