-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable change of drone_uuid after resource deployment in Moab adapter #292
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #292 +/- ##
=======================================
Coverage 98.80% 98.80%
=======================================
Files 56 56
Lines 2339 2344 +5
=======================================
+ Hits 2311 2316 +5
Misses 28 28
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes themselves look good, but I don't get where anything is actually being disabled. I only see additions and refactoring. Can you clarify which part disables the change of drone_uuids?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable it so! 🔋
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Currently, the Moab site adapter is changing the
drone_uuid
after the resource has been deployed toname-<moab_job_id>
. Due to this theSqliteRegistry
is not updated anymore (since #247 ), so thatTARDIS
forgets about deployed resources in case of a restart of the service.This pull requests removes that feature from the Moab adapter and deploys the standard
TardisDrone
environments variables in the job environment instead, so that the drone can take care of setting the right attributes to the OBS, so thatTARDIS
can associate drones to running jobs. In SLURM that is done via aFeature
, while on HTCondor it is done via setting aTardisDroneUuid
ClassAd. Now the almost all site adapters use the very same mechanism.Fixes #291.