question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gitlab-runner reload fails on reload

See original GitHub issue

Looks like reload is not supported by debian gitlab-runner service.

RUNNING HANDLER [riemers.gitlab-runner : reload_gitlab_runner] *********************************************************************************************** fatal: [X.X.X.X]: FAILED! => {“changed”: false, “msg”: “Unable to reload service gitlab-runner: Failed to reload gitlab-runner.service: Job type reload is not applicable for unit gitlab-runner.service.\nSee system logs and ‘systemctl status gitlab-runner.service’ for details.\n”}

I think restart can be used instead.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zaunerccommented, May 2, 2019

I can also confirm this issue and therefore would really like to see PR #41 merged in as soon as possible 😉 By the way. I am using Debian Stretch. Maybe the systemd service installed by the old gitlab-ci-multi-runner package did support the reload action. The systemd service installed by the newer gitlab-runner package definitely does not.

1reaction
heytravcommented, Apr 18, 2019

After changing to the restart handler it seems to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting GitLab Runner
To fix this issue, clear out the certs and restart the runner. Upon restart, the runner notices the certs are empty and it...
Read more >
GitLab Runner commands
Force to reload configuration file. For example, to force a reload of a runner's configuration file, run: sudo kill -SIGHUP < ...
Read more >
How to restart gitlab runner safely? - GitLab CI/CD
If it is running a job, I restart it, the job will show “ERROR: Job failed (system failure): aborted: terminated” for me. I...
Read more >
Add a helpful command to reload config - gitlab-runner
What does this MR do? Adds a helpful tip and command to reload config. ... it may be inaccurate. Before merge, we advise...
Read more >
Troubleshooting CI/CD - GitLab Docs
Jobs or pipelines don't run when expected · Pipeline with many jobs fails to start · A job runs unexpectedly · “fatal: reference...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found