Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Calico role #1266

Closed
shethchintan7 opened this issue Mar 11, 2016 · 3 comments
Closed

Calico role #1266

shethchintan7 opened this issue Mar 11, 2016 · 3 comments

Comments

@shethchintan7
Copy link

I have installed latest MANTL on bare-metal ( Centos 7.2), I added etcd and calico to their respective roles to install them. Even though the ansible script ran successfully, when I am passing a marathon job with CALICO_IP and CALICO_PROFILE none of them are actually getting applied to the docker container.

I am concerned about this in the calico role,
"DOCKER_HOST": "localhost:2377" is passed as --executor-variables to mesos.

The executor_environment_variables file is copied to /etc/mesos-slave/executor_environment_variables and mesos-slave service is restarted, but there is no mesos-slave service running on workers it is renamed to mesos-agent and it is not fetching any arguments from /etc/mesos-slave

Secondly, even if DOCKER_HOST is passed as localhost:2377 how would that and "-H unix:///var/run/docker.sock" interact?

@lguminski
Copy link

"-H unix:///var/run/docker.sock" overrides DOCKER_HOST settings. There is a Mesos issue for that:
https://issues.apache.org/jira/browse/MESOS-3821

There is also a related problem with powerstrip (#1317)

@langston-barrett
Copy link
Contributor

langston-barrett commented Jun 21, 2016

@Zogg Is this relevant after #1521?

@Zogg
Copy link
Contributor

Zogg commented Jun 29, 2016

Nope.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants