Nomad: Handle Container re-allocation

This commit is contained in:
Maximilian Paß
2023-03-19 21:50:36 +00:00
committed by Sebastian Serth
parent e0db1bafe8
commit 038d71ff51
4 changed files with 52 additions and 30 deletions

View File

@ -147,7 +147,7 @@ func (m *NomadRunnerManager) onAllocationAdded(alloc *nomadApi.Allocation, start
}
if _, ok := m.usedRunners.Get(alloc.JobID); ok {
log.WithField("id", alloc.JobID).Debug("Started Runner is already in use")
log.WithField("id", alloc.JobID).WithField("states", alloc.TaskStates).Error("Started Runner is already in use")
return
}