No network connectivity in worker containers when runtime=guardian #6249
-
|
Hey folks! We run Concourse in a Kubernetes cluster, all is well. We're now trying to connect a remote worker on Ubuntu 20.04, which has been relatively straightforward, except for one issue... The worker registers with TSA fine, and is able to be used to run jobs based on tags, but... when the worker uses "guardian" as its runtime (the default), the resulting container has no network access. Thus, it can't even pull resource images from Docker Hub. Here's an example of the task output of a job delegated to the remote worker: Curiously, changing the runtime to containerd or houdini resolves this problem. I.e., the fault is specific to how guardian / garden is being used as a runtime. My worker is started using the following commandline: And garden-config.ini looks like this: Any ideas what I'm doing wrong? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I would try hijacking into that check container that you see failing and poke around from there to see what's up. See what You could also try setting the |
Beta Was this translation helpful? Give feedback.
-
|
Followup - the issue seems to have been a conflict between the default iptables rules created by installing Docker, and the rules created by concourse worker / guardian. I stopped Docker, flushed iptables, and now I have connectivity :) |
Beta Was this translation helpful? Give feedback.
Followup - the issue seems to have been a conflict between the default iptables rules created by installing Docker, and the rules created by concourse worker / guardian. I stopped Docker, flushed iptables, and now I have connectivity :)