Open
Description
I'm trying to setup gitlab-runner autoscale on scaleway thanks to your driver.
Here is my register script:
gitlab-runner register \
--name "company.${HOSTNAME?}" \
--executor docker+machine \
--docker-image docker:latest \
--docker-volumes /var/run/docker.sock:/var/run/docker.sock \
--machine-idle-nodes 0 \
--machine-idle-time 60 \
--machine-machine-driver scaleway \
--machine-machine-name gitlab-runner-%s \
--machine-machine-options scaleway-commercial-type=DEV1-S \
--machine-machine-options scaleway-region=par1 \
--machine-machine-options scaleway-image=bf30c937 \
--machine-machine-options scaleway-token="${SCW_SECRET_KEY?}" \
--machine-machine-options scaleway-organization="${SCW_ORG_ID?}" \
--url ${GITLAB_URL?} \
--registration-token ${GITLAB_CI_TOKEN?}
It runs well, creating multiple instances.
But it fails to remove them after stop:
ERROR: Error removing host "runner-qasr7s6-gitlab-runner-1571267599-fee162b0": StatusCode: 400, Type: invalid_request_error, APIMessage: server should be running
So, I have a bunch of dead servers and volumes, and the runner manager is stuck, even after removing the instance manually.
Metadata
Metadata
Assignees
Labels
No labels