[ 
https://issues.apache.org/jira/browse/MESOS-2830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586988#comment-14586988
 ] 

Cody Maloney commented on MESOS-2830:
-------------------------------------

Master HTTP endpoint would be a useful version.

Most the cases I can think of where we want / need to go straight to the slave 
involve "mesos is down" at which point the endpoint wouldn't be of much use.

For `container` ideally I want to be able to grab arbitrary stuff / execution 
environment to the host. Sometimes I'm going to want to run a full docker 
container and volume mount /etc/passwd into it, other times I'll quite likely 
be happy just running a process with no container isolation whatsoever. 
Probably optimize for the "no container" case, although if I could launch 
arbitrary mesos containers, that would be nice.

The baseline use case as SSHing to every slave is definitely the core one to 
cover. Other common actions I'd expect are "remove a directory on specific 
slaves", "do something on slaves which ran tasks for a framework", and "run a 
command where a task ran".

Ideally either I can run things as a one-off "do it now", or ask mesos to 
schedule it across a group of machines within a time frame (At which point 
mesos could use things like maintenance primitives to cleanly get resources for 
the jobs).

> Add an endpoint to slaves to allow launching system administration tasks
> ------------------------------------------------------------------------
>
>                 Key: MESOS-2830
>                 URL: https://issues.apache.org/jira/browse/MESOS-2830
>             Project: Mesos
>          Issue Type: Wish
>          Components: slave
>            Reporter: Cody Maloney
>            Assignee: Marco Massenzio
>            Priority: Minor
>              Labels: mesosphere
>
> As a System Administrator often times I need to run a organization-mandated 
> task on every machine in the cluster. Ideally I could do this within the 
> framework of mesos resources if it is a "cleanup" or auditing task, but 
> sometimes I just have to run something, and run it now, regardless if a 
> machine has un-accounted resources  (Ex: Adding/removing a user).
> Currently to do this I have to completely bypass Mesos and SSH to the box. 
> Ideally I could tell a mesos slave (With proper authentication) to run a 
> container with the limited special permissions needed to get the task done.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to