Skip to content

Releases: yp-engineering/mesos-runonce

Clean up, add role, and vendor hack.

17 Nov 01:57
Compare
Choose a tag to compare

Some basic cleanups, addition of passing in role if needed for ACLs on mesos side, and hack to vendored mesos-go code to ignore InverseOffersMessage messages because they are causing a panic. Really just need mesos-go to be released with compatibility with mesos v1.0*.

v1.2.0

21 Sep 13:58
Compare
Choose a tag to compare
Switching to Stop() so that our framework will try to unregister if c…

…onnected instead of just pulling the plug.

v1.1.5

12 Jul 15:18
Compare
Choose a tag to compare

No longer exits if received offer rescinded. This is similar behavior to Marathon and Rendler.

v1.1.4

27 Jun 19:49
Compare
Choose a tag to compare
Adding log output on every setup of a task to namely figure out the h…

…ost we are running on for any further debugging.

v1.1.3

24 Jun 21:20
Compare
Choose a tag to compare
Don't exit when slave lost because it may not be our tasks' slave.

Exit was added because it was thought it caused the program to hang and
consume resources in mesos otherwise. This is not the case as later
commits show that printLogs() was actually causing the process to block
and then ResourceOffers() was consuming for really an unknown reason :/.

This change has been tested to be safe (not consume all mesos resources)
when:

* Random slaves are lost in cluster.
* Slave the task is running on is lost.
* Slave the task is running on becomes "unhealthy" (simulated with
  iptables).

v1.1.2

28 May 05:45
Compare
Choose a tag to compare

Fixing when mesos-agent is unreachable for log fetching.

If we couldn't get the logs from the agent, it would block inside the
case <-timer select making the main thread not be able to handle
messages sent to StatusUpdate nor ResourceOffers resulting in consuming
the entire cluster :(. This is a stop gap until I figure out how to
properly fix this.

v1.1.1

25 May 17:02
Compare
Choose a tag to compare

Will exit if framework gets offer rescinded or slave lost from mesos.

v1.1.0

23 May 19:59
Compare
Choose a tag to compare

Release of

  • General cleanup of code with more comments.
  • JSON interface for config / passing in task to runonce. See example-config.json and pass it in via -config=example-config.json

v1.0.6

11 May 15:56
Compare
Choose a tag to compare

Fixing exit 0 always.

v1.0.5

11 May 13:53
Compare
Choose a tag to compare

More logging bugfixes to better stream back stderr/out from mesos when tasks fail or get killed.