-
Notifications
You must be signed in to change notification settings - Fork 35
jenkins master can't find jenkins agent which is buildpod #64
Comments
Can you show the error message in your builds? |
Sorry for my late reply. Here's the jenkins log from rancher pipeline build. From jenkins agent pod name: 'buildpod.pipeline-p-jsk9d-4.1-7wfvr-l152f'
Build status always fails into 'failed' after 1~1.5 hour from above message. |
There's a 60min timeout by default, so it looks like it is terminated due to the timeout. |
Yes, and this is the message when timeout reached:
Even timeout signal can not reach to 'buildpod.pipeline-p-jsk9d-4.1-7wfvr-l152f' here. So I thought that master can not reach to 'buildpod.pipeline-p-jsk9d-4.1-7wfvr-l152f' pod and I guess it related with DNS because Jenkins master can not resolve the pod name. Sorry for inefficient description :( |
I have the same problem |
I have the same problem,too |
You can try to upgrade or lower the jenkins plugin ( |
Hi, I'm using rancher v2.3.2 and trying to use pipeline function.
I setup rancher and kubernetes on-prem infrastructure and tried to make docker images from internal git repo.
During build steps, fetching from git repo is working but right after stage - Build and Publish Image type step always fails.
I exec into those jenkins master and agent and figured out that jenkins master can not resolve agent address with it's hostname like 'buildpod.pipeline-p-jsk9d-3.1-gw3ck-65xvn'.
I've tried to do 'nslookup' for other domains like 'google.com' and it worked fine.
please check my config and nslookup results and let me know if I miss configured something.
Thank you!
network configuration
from jenkins master
from jenkins agent
The text was updated successfully, but these errors were encountered: