-
Notifications
You must be signed in to change notification settings - Fork 28
Chroot Support
nicholas harteau edited this page Mar 2, 2011
·
1 revision
Pogo should support targets in the form of 'hostname:rootname', and take appropriate action (chroot or use utility to enter the root on the remote node) when executing commands. Targets are joot and our proprietary implementation.
- User submits a job including a target in the form of
hostname:rootname
- Pogo should treat this as a distinct target on which to perform
constraint operations, so
hostname:root1
andhostname:root2
are unique. -
pogo-dispatcher
, when constructing the task, should pull apart 'hostname' and 'root' and send them across as separate bits in the JSON-RPC hash. appropriate information from the dispatcher configuration should be passed along at this time. - when
pogo-worker-stub
is invoked on the remote host, and is given the job options, it should understandroot
and take appropriate action.
- describe the available root-types, a default root-type, and any root-magic necessary in the dispatcher configuration file, similar to 'store' and 'store_options'. revise 'store' and 'store_options' if necessary to make consistent.
- per-namespace, optionally configure a 'root-type' that is communicated to the worker via the task JSON-RPC.