Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error removing host: server should be running #103

Open
soullivaneuh opened this issue Oct 16, 2019 · 1 comment
Open

Error removing host: server should be running #103

soullivaneuh opened this issue Oct 16, 2019 · 1 comment

Comments

@soullivaneuh
Copy link

soullivaneuh commented Oct 16, 2019

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.

@mjrider
Copy link

mjrider commented Nov 6, 2019

i think this is a duplicate of #99 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants