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.
Summary
Deployed a VM with the
gitlab-runnerservice role attached(
gitlab_url/registration_tokenleft empty, so per the role's owndescription it should install but stay unregistered), on the Ubuntu 24.x
"with PlusClouds Service" image. After SSH login succeeded:
systemctl is-active gitlab-runnerreportedinactive(unit exists butnot running - not "no such unit")
sudo gitlab-runner statusfailed withsudo: gitlab-runner: command not foundThe binary itself not being on
PATHis stronger evidence than a systemdsymptom 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-wizardwithservice_roles: {"gitlab-runner": {"config": {}}}against the Ubuntu 24.x"with PlusClouds Service" image, then after boot:
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'siaas-service-rolesautomated test scenario.