Gitlab运行器故障,HTTP 500 curl 22 [英] Gitlab runner failure, HTTP 500 curl 22

查看:566
本文介绍了Gitlab运行器故障,HTTP 500 curl 22的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天来,我们一直在与gitlabRunner发生麻烦.每当我们尝试部署提交时,都会收到以下错误(这是完整的日志):

We had been having troubles with gitlab runner for couple of days now. Whenever we try to deploy a commit, we are getting the following error (it's the full log):

在LST GitLab Runner上使用gitlab-runner 10.8.0(079aad9e)运行 9db4eb2c将Docker executor与image alpine:3.7一起使用...

Running with gitlab-runner 10.8.0 (079aad9e) on LST GitLab Runner 9db4eb2c Using Docker executor with image alpine:3.7 ...

pulling docker image alpine:3.7 ...

Pulling docker image alpine:3.7 ...

使用docker映像 sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f 对于高山:3.7 ...

Using docker image sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f for alpine:3.7 ...

在runner-9db4eb2c-project-2-concurrent-0上运行 通过a7dcae9d7882 ...

Running on runner-9db4eb2c-project-2-concurrent-0 via a7dcae9d7882...

获取更改...

HEAD现在位于142ba7a

HEAD is now at 142ba7a

合并 分支"3378-new-payroll-export-lexware"进入测试

Merge branch '3378-new-payroll-export-lexware' into test

错误:RPC失败; HTTP 500卷曲22 请求的URL返回错误:500 Internal Server Error

error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error

致命:远端意外挂起

错误:作业失败: 退出代码1

ERROR: Job failed: exit code 1

它在拉出docker映像后立即发生.我们还在不同的分支和不同的阶段(我们已经测试并部署)对其进行了测试,所有结果都具有相同的错误.

It happens right after pulling docker image. We also tested it on different branches and different stages (we have test and deploy), all of them result with the same error.

不确定是否相关,但是我们也无法执行git存储库中的拉取请求.它失败,并显示以下错误:

Not sure if it's relevant, but we also cannot preform pull request from git repository. It fails with following error:

RPC失败; HTTP 500 curl 22请求的URL返回错误:500 服务器内部错误

RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error

远端意外挂断

我们尝试切换到SSH而不是HTTP,但这也没有用. 您能为我们指明正确的方向以便我们解决吗?这可能是什么问题?

We tried switching to SSH instead of HTTP, but this also didn't work. Could you please point us in right direction so we can solve it? What could be the problem here?

推荐答案

整个问题都与磁盘空间有关.通过SSH登录后,我们发现docker容器积累了一个巨大的日志,占用了所有空间.我们将其删除,一切都已修复

The whole problem was connected to disk space. After logging in via SSH, we found out that docker container accumulated a huge log, that took all the space. We removed it and everything was fixed

我想为避免将来出现此问题的下一步将是使docker自动旋转日志

I guess next step to avoid that problem in the future will be enabling docker to automaticly rotate the logs

这篇关于Gitlab运行器故障,HTTP 500 curl 22的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆