Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-12-08 Thread Jason Smyth
Hi there! Glad to hear you got this sorted out. Thank you for sharing your solution with the mailing list. Regards, Jason On Tuesday, 8 December 2020 at 02:50:40 UTC-5 IXI wrote: > Finally we got solution for this. You want beleave it, but it was just > about encoding of the file. We had UTF

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-12-07 Thread IXI
Finally we got solution for this. You want beleave it, but it was just about encoding of the file. We had UTF-8, then we changed to windows default (to be honest, still not sure, which is windows default), and it worked. So everything was setup correctly and only the encoding of the agent-autor

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Jason Smyth
Hello, The host OS is less relevant than the container OS in this situation. What OS is your custom container image based on? This information will likely be necessary to "tunnel" into the container from the host. For troubleshooting, I recommend using docker's CLI to access one of your contai

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread IXI
Yes we do, what you mentioned. Path: C:\Go-Agent\config\autoregister.properties (please remember that we are doing it on Windows Server 2016 machine) And just repeating question from my previous answer: Is there a way to debug our situation? It seems like a windows container problem. Dne s

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Sriram Narayanan
On Wed, Nov 4, 2020 at 8:12 PM IXI wrote: > Yes we do. Is there a way to debug our situation? It seems like a windows > container problem. > If your containers are coming up and getting registered as static agents, then the agent startup is likely unable to locate autoregister.properties. At wh

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread IXI
Yes we do. Is there a way to debug our situation? It seems like a windows container problem. Dne středa 4. listopadu 2020 v 12:21:00 UTC+1 uživatel Aravind SV napsal: > Hello, > > I see. You’re creating your own image. > > The docker image provided by GoCD (on DockerHub) does this >

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Aravind SV
Hello, I see. You're creating your own image. The docker image provided by GoCD (on DockerHub) [does this](https://github.com/gocd/docker-gocd-agent-dind/blob/fd70ef0eb4c2ff750ad297b1810b08bd31f11229/docker-entrypoint.sh#L26-L36) to populate the `autoregister.properties` file correctly, based o

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-03 Thread IXI
We followed the documentation and have the necessary things configured. We are making the docker image on windows for gocd-agent v20.7 based on the documentation provided - https://docs.gocd.org/current/advanced_usage/agent_auto_register.html Dne úterý 3. listopadu 2020 v 17:10:30 UTC+1 uži

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-03 Thread IXI
We followed the documentation and have the necessary things configured. We are making the docker image on windows for gocd-agent v20.7 based on the documentation provided - https://docs.gocd.org/current/advanced_usage/agent_auto_register.html Dne úterý 3. listopadu 2020 v 17:10:30 UTC+1 uži

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-03 Thread Aravind SV
Hello, Elastic agents are not started by users. They're started automatically, using an elastic agent plugin. If you use one, you won't need to set agent properties, etc. That's the whole point of it being elastic, in that it creates an agent when needed and gets rid of it when it's not needed

[go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-03 Thread IXI
We''re trying to deploy windows elastic agents on docker swarm plugin. According to the documentation, we have created agent-autoregister.properties in the proper place as per our windows container GoCD agent installation on startup. Whenever we run a pipeline which is tagged to the elastic agen