Hi James, with your info on that the excutor runs inside the container, 
I need to provision the container environment with the certificate and 
key I guess before it starts the ssl connection. How can I do this?



-----Original Message-----
Sent: 18 February 2019 18:49
To: user
Subject: Re: ssl mesos-executor not using /etc/default/mesos


> On Feb 16, 2019, at 9:46 AM, Marc Roos <[email protected]> 
wrote:
> 
> 
> 
> Looks like the mesos-executor is not using /etc/default/mesos 
> environment variables

Depending on your configuration, the executor runs inside the container, 
which means that /etc/default/mesos is probably not available. 

> 
> If I export the variables in /etc/default/mesos manually, I can run 
> the task.
> 
> mesos-execute --master=x.x.x.x:5050 --principal=xxx --secret=xxx 
> --name=ls --command="ls -lRrt /*; sleep 60" 
> --env=file:///test/env.json
> 
> How should this be resolved? I tried setting 
> --executor_environment_variables=/etc/mesos/executor-env.json

And what happened when you did this?

Reply via email to