Pegasus-dagman needs to check pegasus-monitord's exit code before restarting it

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Major
    • master, 4.0
    • Affects Version/s: master, 4.0
    • Component/s: CLI: pegasus-run
    • None

      Pegasus-monitord will now check if another pegasus-monitord instance is running, and will exit if that case is detected. Pegasus-dagman should not restart pegasus-monitord when this happens. This can be detected by checking monitord's exit code. When monitord detects another instance already running it exits with exitcode 43 (please let me know if there are preferences for a specific exit code instead of 43).

            Assignee:
            Gaurang Mehta (Inactive)
            Reporter:
            Fabio Silva
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: