-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
sat-endeavour
-
None
-
None
-
None
-
None
Description of problem:
Task does get stuck when redis is not running at start
How reproducible:
always
Is this issue a regression from an earlier version:
no
Steps to Reproduce:
1. Have a Satellite with registered host
2. Stop redis (systemctl stop redis.service)
3. Start remote execution task (hammer job-invocation create --job-template "Run Command - Script Default" --input-files command=/root/test_rex_script.sh --search-query "name = <registered host fqdn>")
4. Start redis again (systemctl start redis.service)
5. Check job status
Actual behavior:
The task is in state "Awaiting start" and does not continue even after satellite-maintain service restart
Expected behavior:
The task should either continue when redis is back online or it should immediately fail with appropriate error message.
Additional info:
Discovered while testing https://github.com/Dynflow/dynflow/pull/457 and being a bit too cruel