Skip to content

gitlab-runner role: gitlab-runner binary not found after install #10

Description

@yakari007

Summary

Deployed a VM with the gitlab-runner service role attached
(gitlab_url/registration_token left empty, so per the role's own
description it should install but stay unregistered), on the Ubuntu 24.x
"with PlusClouds Service" image. After SSH login succeeded:

  • systemctl is-active gitlab-runner reported inactive (unit exists but
    not running - not "no such unit")
  • sudo gitlab-runner status failed with sudo: gitlab-runner: command not found

The binary itself not being on PATH is stronger evidence than a systemd
symptom alone - this looks like the install step (apt/dnf repo add +
package install) didn't actually complete, not just a registration/startup
issue.

Repro

POST /leo/iaas/virtual-machines/create-wizard with
service_roles: {"gitlab-runner": {"config": {}}} against the Ubuntu 24.x
"with PlusClouds Service" image, then after boot:

systemctl is-active gitlab-runner   # -> inactive
sudo gitlab-runner status           # -> sudo: gitlab-runner: command not found

The VM was deployed and torn down automatically as part of the test run,
so the live VM/install-script output is gone - filed from the test's
captured output, not a live inspection.

Found via leo4.tester's iaas-service-roles automated test scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions