Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-41094

Task does get stuck when redis is not running at start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Tasks Plugin
    • 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

              Unassigned Unassigned
              rhn-support-rmynar Radek Mynar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: