Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-688

setup of monitord logs by pegasus dagman

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: master, 4.2.1, 4.3
    • Component/s: Monitord
    • Labels:
      None

      Description

      Currently, pegasus-dagman sets up the monitord log file and then when launching the monitord sets it's stdout to that log file. However monitord itself takes a backup of the log when it starts up, as it sees that the file exists.


       Because of this we always have two monitord.log files in a normal run

      Usually for successful run monitord.log.000 is a zero byte file.
      -rw-r--r-- 1 vahi gridstaff 718 Jan 29 18:33 ../creamce-sharedfs/work/vahi/pegasus/blackdiamond/run0022/monitord.log
      -rw-r--r-- 1 vahi gridstaff 0 Jan 29 18:19 ../creamce-sharedfs/work/vahi/pegasus/blackdiamond/run0022/monitord.log.000

      However, for workflows where pegasus-dagman restarts monitord this gets messed up, and we see partial logs from same run in two log files

        Attachments

          Activity

            People

            • Assignee:
              vahi Karan Vahi
              Reporter:
              vahi Karan Vahi
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: