Skip to content
Snippets Groups Projects
Commit 05c8442762e4 authored by Will Chandler's avatar Will Chandler
Browse files

Restart Gitaly when updating Gitlab-Shell token

Originally Gitaly would shell out to Gitlab-Shell to make internal API
calls. This had no retained state regarding the secret token, so no
service restarts were required in this scenario.

However, for several years the main Gitaly process has been responsible
for calling the internal API. This will only read the Gitlab-Shell
secret file during its startup process, and subsequent changes to that
will not be detected by Gitaly, leading to spurious 401 errors.

To resolve this, restart the Gitaly service when updating
`gitlab_shell['secret_token']`.

Changelog: fixed
parent 9acf6674f822
No related branches found
No related tags found
3 merge requests!122heptapod#1474: making 1.3 the new oldstable,!121heptapod#1448: making Heptapod 1.3 the stable series,!118heptapod#1418: merged first upstream commit of v16.8 release branch
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment