-
-
Notifications
You must be signed in to change notification settings - Fork 4
Add Host Constraint, Fix issues with Task Lost and Offer Management #17
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
Conversation
itsoksarvesh
commented
Sep 16, 2025
- ADD: GPU Allocation Option in Mesos. Can still use GPU's on the host but will not be allocated in mesos.
- ADD/FIX: TASK_LOST Update causes TASKS to be killed
- FIX: Unwanted Decline Offer causing duplicate declines removed
- ADD: Host constraint: Option to only accept/request offers from particular hosts.
- FIX: Continously accepting offers when no task running.
…into AVENTER-UG-master
| if offerret.GetHostname() != "" { | ||
| offerIds = e.removeOffer(offerIds, offerret.GetId().GetValue()) | ||
| } | ||
| e.Mesos.Call(e.Mesos.DeclineOffer(offerIds)) |
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.
Why should it be removed?
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 unwanted offers were being declined twice .. Once in here and the other when these offerIds were returned to the HandleOffers function at the end to decline the unneeded offers ..This caused errors in mesos saying offer already declined
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.
Right, but there are two cases where the outside decline (line 81) does not catch. Both of them are errors. So maybe it makes more sense to keep decline (line 160) and remove the one in line 81? What do you think?
…iour on TASK_LOST status from Mesos