setup of monitord logs by pegasus dagman

XMLWordPrintable

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

      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-rr- 1 vahi gridstaff 718 Jan 29 18:33 ../creamce-sharedfs/work/vahi/pegasus/blackdiamond/run0022/monitord.log
      rw-rr- 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

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

              Created:
              Updated:
              Resolved: