ansible-gitlab-runner icon indicating copy to clipboard operation
ansible-gitlab-runner copied to clipboard

Set clone url step is failing

Open lukkigi opened this issue 3 years ago • 1 comments

Hello,

whenever the role tries to set the clone url of a runner, the specific job fails, but the change gets through nevertheless. We have a setup with 18 runners on CentOS 7 machines and every single of them gets the error message below. This causes our ansible playbook to abort after running the gitlab-runner task, which is unfortunate. Could you please look into this?

TASK [riemers.gitlab-runner : Set clone URL] *********************************************************************************************************************************************** fatal: [gitlab-runner-xxx]: FAILED! => {"changed": false, "module_stderr": "Shared connection to gitlab-runner-xxx closed.\r\n", "module_stdout": "/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 0}

The setlocale warning does not seem to be the cause of the problem. When I fix this particular warning, the error still appears, just with an empty stdout message.

Thanks in advance!

lukkigi avatar Feb 22 '21 09:02 lukkigi

Just a fyi, i have no clue at the moment. Those set locale issues i have seen before in lots of different situations, i agree i don't think that has anything to do with the issue. Only thought would be that it gives an errorcode back which causes something. (in case of a test, just set a "exit 0" in the end of the lang.sh) just a suggestion for troubleshooting.

riemers avatar Apr 18 '21 20:04 riemers

Seems this message did not get a lot of love. This does not mean it was not seen but time wise might not have made it to proper attention. This is just the clean up action ;)

github-actions[bot] avatar Jun 21 '23 02:06 github-actions[bot]