Updates debian rules to use different thermos_observer.
The old thermos_observer is missing the --mesos-root flag thats needed
to tell the thermos_observer where it can find the mesos root directory.
It currently defaults to /var/lib/mesos in the old observer entry point.
Testing Done:
1. Built aurora with dpkg-buildpackage -us -uc -d
2. Installed executor deb: dpkg --install
aurora-executor_0.9.0-SNAPSHOT_amd64.deb
3. thermos_observer --long-help
Options:
-h, --help, --short-help
show this help message and exit.
--long-help show options from all registered modules, not just the
__main__ module.
--root=ROOT The thermos checkpoint root directory to search for
Thermos tasks [default: /var/run/thermos]
--mesos-root=MESOS_ROOT
The mesos root directory to search for Thermos
executor sandboxes [default: /var/lib/mesos]
--port=PORT The port on which the observer should listen.
[default: 1338]
--polling_interval_secs=POLLING_INTERVAL_SECS
The number of seconds between observer refresh
attempts. [default: 5]
I am in the process of building and deploying this change to production and can
report
back when that is complete.
Bugs closed: AURORA-1403
Reviewed at https://reviews.apache.org/r/36644/
Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/3a5139d0
Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/3a5139d0
Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/3a5139d0
Branch: refs/heads/master
Commit: 3a5139d097222d3ef39bb396be32a09e8ce35a15
Parents: ccf7543
Author: Andrew Jorgensen <[email protected]>
Authored: Tue Jul 21 13:26:29 2015 -0700
Committer: Bill Farner <[email protected]>
Committed: Tue Aug 4 14:07:42 2015 -0700
----------------------------------------------------------------------
build-support/packaging/debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/3a5139d0/build-support/packaging/debian/rules
----------------------------------------------------------------------
diff --git a/build-support/packaging/debian/rules
b/build-support/packaging/debian/rules
index db0f14e..23828c0 100755
--- a/build-support/packaging/debian/rules
+++ b/build-support/packaging/debian/rules
@@ -36,7 +36,7 @@ __pants_build:
$(pants) binary
src/main/python/apache/aurora/executor/bin:thermos_executor
$(pants) binary src/main/python/apache/thermos/cli/bin:thermos
$(pants) binary src/main/python/apache/thermos/bin:thermos_runner
- $(pants) binary
src/main/python/apache/thermos/observer/bin:thermos_observer
+ $(pants) binary src/main/python/apache/aurora/tools:thermos_observer
build-support/embed_runner_in_executor.py
override_dh_installinit: