Summary
Major update. The former getJob/updateJob function (httpConnect) has been replaced by one that is based on curl rather than on urllib/urllib2 due to safety reasons. All communications with the dispatcher are now secure. All URLs are now hardcoded in the pilot since aliases (such as pandasrv.cern.ch) can currently not be used with secure curl. The pilot token paradigm has also been implemented, awaiting full implementation on the server side.
Furthermore, the pilot is now attempting to kill any remaining [athena] processes since it was discovered that some pool commands can hang indefinately which is missed by athena.
Version info
Added toDispatcher(), _Curl class from autopilot PilotUtils module (pUtil)
Updated the _Curl class to include the certificate dir (pUtil)
Created a new httpConnect() using Tadashi's curl method for getJob/updateJob (pUtil)
Created getPilotToken() function (pUtil)
Renamed killJob() to killProcesses() (pilot)
Added a killProcesses() call after a finished job
Replaced monitor warning messages in killProcesses() (pilot)
Created getRandomURL() (pUtil)
All URLs for getJob/updateJob call are now using getRandomURL (pilot)
Removed unused server partitioning variables and code
Replaced 'source' command with '.' for the Nordugrid runtime script (RunJobUtilities)
Added argument '1' (job argument) for the Nordugrid runtime script (RunJobUtilities)
Replaced panda.cern.ch with voatlas[19-21].cern.ch in chttpurl list (pUtil)
Set throttle entry to 0 for NDGF as requested by Andrej (pilot)
rmRedundants() now removes *.py and *.pyc as well (pilot)
Created parseDispatcherResponse() (pUtil)
Removed 'self' from getExitCode function declaration (pUtil)
Explicitly setting 'pandasrv.cern.ch' to 'adtlddm05.cern.ch' for getJob/updateJob (pilot)
No comments:
Post a Comment