Skip to content

Conversation

@itsoksarvesh
Copy link
Contributor

  • 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.

if offerret.GetHostname() != "" {
offerIds = e.removeOffer(offerIds, offerret.GetId().GetValue())
}
e.Mesos.Call(e.Mesos.DeclineOffer(offerIds))
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

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?

@andreaspeters andreaspeters merged commit b95f06b into AVENTER-UG:master Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants