JuyeoungJun / cron-monitoring

for cron-monitoring
0 stars 0 forks source link

Gitlab-runner host 연결 실패 #2

Closed JuyeoungJun closed 3 years ago

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 11:27

개요

Job Failed #296303 dial tcp: lookup docker on 164.124.101.2:53: no such host

Docker 이미지가 빌드되지 않음.

버그 내용

Job [#296303](https://gitlab.gabia.com/mentoring/newbie/2021.05/mentoring-cron/playground/-/jobs/296303) failed for 7e990024b0bc805e54362cd593491433a9184203:

image

해결 방안

[session_server] session_timeout = 1800

[[runners]] name = "cronmonitor" url = "https://gitlab.gabia.com/" token = "uZzvpZj3M2XbWbzuyfUg" executor = "docker" [runners.custom_build_dir] [runners.cache] [runners.cache.s3] [runners.cache.gcs] [runners.cache.azure] [runners.docker] tls_verify = false image = "docker:latest" privileged = true disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock"] shm_size = 0

참고 링크

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 11:32

added 1 design

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 11:35

added 1 design

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 11:35

added 1 design

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 11:37

changed the description

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 16:23

This job is stuck.

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 16:46

changed the description

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 16:52

에러 로그

WARNING: Checking for jobs... failed                runner=uZzvpZj3 status=couldn't execute POST against https://gitlab.gabia.com/api/v4/jobs/request: Post https://gitlab.gabia.com/api/v4/jobs/request: dial tcp: lookup gitlab.gabia.com on 164.124.101.2:53: read udp 172.17.0.2:59654->164.124.101.2:53: read: no route to host

해결 방법

# sudo systemctl daemon-reload
# sudo systemctl restart docker

원인

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 17:21

changed title from {-Job Failed #296303-} to {+gitlab-runner host 연결 실패+}

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 17:21

changed the description

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 18, 2021, 17:23

changed title from {-g-}itlab-runner host 연결 실패 to {+G+}itlab-runner host 연결 실패

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 25, 2021, 16:26

unassigned @gm2202981

JuyeoungJun commented 3 years ago

In GitLab by @gm2202981 on May 25, 2021, 16:26

assigned to @gm2202981