#[SOLVED] Runner token don't update

1 messages · Page 1 of 1 (latest)

proud chasm
#

So i currently have an issue where my Gitlab runners don't want to update their runner token.
The runner can contact the gitlab for 24h without issues (i can also run CI), tho after thoses 24h, the runners goes offline.

For context, i'm using the gitlab/gitlab-runner:latest image and i also have a Ceph volume storage (so the conf is on there).
I also checked the config.toml permissions and to test i put to 777 but still not working.

Do you guys have an idea of what can cause this ?

#

also here is the runner logs

#

and to finish the runner config :

concurrent = 5
check_interval = 0
user = "gitlab-runner"
shutdown_timeout = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "<hostname of the host>"
  url = "https://<instance>"
  id = 8
  token = "<token>"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "node:20"
    privileged = true
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
    network_mtu = 0
proud chasm
#

i think i know why, i'm missing token_obtained_at and token_expires_at on the config, tho for whatever reason, i didn't need it on my first runner

proud chasm
#

I can confirm, it does work now, the token is rotating without issues