[英]GitLab Runner: Failed to register the runner. You may be having network problems
I am attempting to create a kubernetes gitlab runner and I encounter the very generic error Failed to register the runner. You may be having network problems.
我正在尝试创建一个 kubernetes gitlab 跑步者,我遇到了非常一般的错误
Failed to register the runner. You may be having network problems.
Failed to register the runner. You may be having network problems.
I know gitlab.com
is reachable from my hosts, but I need more information to debug the root cause of this issue.我知道
gitlab.com
可以从我的主机访问,但我需要更多信息来调试此问题的根本原因。
Note the error does continue for 30 attempts each the same as the one below:请注意,错误确实会持续 30 次尝试,每次尝试与以下相同:
Registration attempt 8 of 30
Runtime platform arch=amd64 os=linux pid=107 revision=775dd39d version=13.8.0
WARNING: Running in user-mode.
WARNING: The user-mode requires you to manually start builds processing:
WARNING: $ gitlab-runner run
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner...
ERROR: Registering runner... failed runner=dh5qxNxL status=couldn't execute POST against https://gitlab.com/api/v4/runners: Post https://gitlab.com/api/v4/runners: EOF
PANIC: Failed to register the runner. You may be having network problems.
A firewall was blocking Kubernetes traffic from the host to GitLab.防火墙阻止了从主机到 GitLab 的 Kubernetes 流量。 The runner was created as soon as traffic from
gitlab.com
was whitelisted.一旦来自
gitlab.com
的流量被列入白名单,就会创建跑步者。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.