Gitlab 错误:注册运行程序…;未找到失败的运行程序=38BUk9-k状态=404

Gitlab 错误:注册运行程序…;未找到失败的运行程序=38BUk9-k状态=404,gitlab,gitlab-ci,gitlab-ci-runner,gitlab-omnibus,Gitlab,Gitlab Ci,Gitlab Ci Runner,Gitlab Omnibus,我正在尝试在新安装的gitlab上注册gitlab运行程序(基于centos7的omnibus rpm) 但注册失败的原因如下: [root@ec2-x.y.z.w ~]# [root@ec2-x.y.z.w ~]# sudo gitlab-ci-multi-runner register Running in system-mode. Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/): http://

我正在尝试在新安装的gitlab上注册gitlab运行程序(基于centos7的omnibus rpm) 但注册失败的原因如下:

[root@ec2-x.y.z.w ~]# 
[root@ec2-x.y.z.w ~]# sudo gitlab-ci-multi-runner register
Running in system-mode.

Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
http://ec2-x-y-z-w.compute-1.amazonaws.com/ 
Please enter the gitlab-ci token for this runner:
38BUk9-kgZkmmPHz-hsb
Please enter the gitlab-ci description for this runner:
[ec2-x-y-z-w.compute-1.amazonaws.com]: dcos runner 1
Please enter the gitlab-ci tags for this runner (comma separated):
dcos
Whether to run untagged builds [true/false]:
[false]: 
ERROR: Registering runner... failed runner=38BUk9-k status=404 Not         Found
PANIC: Failed to register this runner. Perhaps you are having network     problems 
[root@ec2-x-y-z-w ~]#

您似乎正在运行Gitlab Runner v9.x。当您将V9运行程序与低于V9的Gitlab匹配时,会发生此错误。它们是不相容的

Gitlab Runner v9开始使用V4 API,但这仅适用于Gitlab v9。降级至1.11.1,应能再次工作


特别是,如果您使用docker官方图像启动Runner,请不要使用:latest标记,切换到

您似乎正在运行Gitlab Runner v9.x。当您将V9运行程序与低于V9的Gitlab匹配时,会发生此错误。它们是不相容的

Gitlab Runner v9开始使用V4 API,但这仅适用于Gitlab v9。降级至1.11.1,应能再次工作


特别是,如果您正在使用docker官方图像启动跑步者,请不要使用:latest标签,切换到

是否尝试过
http://ec2-x-y-z-w.compute-1.amazonaws.com/ci
?您试过
http://ec2-x-y-z-w.compute-1.amazonaws.com/ci