-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secure-docker-daemon download problem #1
Comments
Hi, Thanks for the interest. The role is available on github. Unsure why it's dropped off Galaxy. Its not actually being actively used in the project. I had wanted to speed up the build process and copy images from one Docker Daemon to another... I'll have a look into it. In the meantime, you could clone the role from github into the roles directory. I have changed it so by default it skips that role. I have removed the role from my local roles dir and trashed the VMs. There is an issue with my guest additions that i'll look into but the boxes were created. Running provision now ignores the failed module..
J |
thanks it helped a lot. This project uses the last features of docker 1.12 so I have learned a lot since I have been playing with it. I could start the stack without monitoring
but as soon as I run
It did not start the monitoring stack because of a python problem.
|
Hi, Glad you made some progress. It looks like the versions have moved on since I last tested monitoring. There is an issue with Ansible and the latest version of docker-py ansible/ansible#17495 though using v1.9.0 works. I have updated the project and it gets further, though seeing issues with running services. Will investigate James |
Similar to moby/moby#27208 I originally used docker 1.12.0 I believe. "Error response from daemon: rpc error: code = 3 desc = EndpointSpec: duplicate published ports provided"
|
In my case I do not want to use riemann of collectd. I have tested telegraf (which embed statsd) which collects all stats of your docker containers and system and is implemented by the same company as influxdb. So I will adapt the project to see if I can have a different monitoring stack. One question: I edited the requirement.txt
How case I enable the secure-docker-daemon plugin back, please? |
Hi, ok sounds good. The issue i'm seeing seems to relate to moby/swarmkit#1495 so its possible it'll come up again if registering the same udp & tcp ports. To turn the secure daemon role you should add
In the group vars file. Its not been properly tested though the role didn't break when I ran it last |
Re telegraf you could do
group_vars/all.yml
or something like that |
thanks @jamesdmorgan
I created a task to make sure the config file was copied to the host before mounting the service,
The problem is that the service will run on a random node and this particular node will not have the config file. |
Hi, The constraint
Should restrict it to nodes that have that label. Currently, it should only be 1 host. Persistent volumes are a big issue and one that could be addressed with something like Flocker. I haven't played with it yet but looked into it a while back. Interested to know how you get on. To double check the labels you an inspect the nodes from manager1. But Influx was restricted for the reason. |
Hi, |
Hey Thanks look forward to having a look. Will take a look tomorrow James On Saturday, 15 October 2016, rolele [email protected] wrote:
|
The I changed I have opened a Pull Request about this and other fixes. I love your work @jamesdmorgan with this environment, and now I start to learn Docker Swarm, THANK YOU! Rodolfo |
Thanks, Rodolfo I've merged the PR. Cheers |
Hi, great project! thanks a lot.
I have a problem when trying to provision the machines
it seems that secure-docker-daemon is not on galaxy anymore.
Could you push the secure-docker-daemon role that you have downloaded locally on github?
Otherwise, is there an easy way to make it work in unsecure mode?
The text was updated successfully, but these errors were encountered: