mirror of
https://github.com/ansible/awx.git
synced 2026-07-28 16:39:56 -02:30
Add resource requests to default podspec
Extend the timeout, assuming that we want to let the kubernetes scheduler start containers when it wants to start them. This allows us to make resource requests knowing that when some jobs queue up waiting for resources, they will not get reaped in as short of a timeout.
This commit is contained in:
@@ -381,7 +381,7 @@ class AWXReceptorJob:
|
||||
self.task.instance.result_traceback = detail
|
||||
self.task.instance.save(update_fields=['result_traceback'])
|
||||
else:
|
||||
logger.warn(f'No result details or output from {self.task.instance.log_format}, status:\n{unit_status}')
|
||||
logger.warn(f'No result details or output from {self.task.instance.log_format}, status:\n{state_name}')
|
||||
except Exception:
|
||||
raise RuntimeError(detail)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user