-
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
Fix htcondor site adapter #173
Fix htcondor site adapter #173
Conversation
Please also have a look at LAPIS where we already have a matrix of conversion mappings (for job io and pool io), just to ensure, that the right conversions are taken into consideration. In HTCondor there is some confusion with MB and MiB. Further, we should define what is being used internally and state it explicitly (just telling out of experience :D). Please ignore, if you already considered all of this 😇 |
Thanks @eileen-kuehn. The memory in HTCondor is in MiB and disk space in KiB. That is already taken into account. I have opened an issue to update the documentation about what is used by |
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.
I suggest a rewording of the change fragment, but that is not a blocker.
docs/source/changes/173.fix_meta_data_translation_htcondor.yaml
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
=======================================
Coverage 99.54% 99.54%
=======================================
Files 43 43
Lines 1763 1769 +6
=======================================
+ Hits 1755 1761 +6
Misses 8 8
Continue to review full report at Codecov.
|
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.
Make it so! 👨🦲 🌟
docs/source/changelog.rst
Outdated
@@ -18,6 +18,7 @@ Fixed | |||
----- | |||
|
|||
* Fixes a bug that the drone_minimum_lifetime parameter is not working as described in the documentation | |||
* Fixes a bug in the HTCondor Site Adapter that could leading to wrong requirements when using non HTCondor OBS |
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.
Here it should be "could lead"
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.
Thanks, I corrected it.
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 fine for me, except for some grammar (see inline comments).
Co-authored-by: Max Fischer <maxfischer2781@gmail.com>
7793f57
ec00641
to
7793f57
Compare
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.
Everything fine now!
The HTCondor Site Adapter takes a wrong
machine_meta_data_translation_mapping
into account in some circumstances. Hence, we have to differentiate the translation mapping of the used OBS and the one used internal by the site adapter.This bug has no effect if HTCondor is used as OBS, just if the OBS uses different conversion factors for Memory and Disk units this bug occurs.
This pull request fixes #170.