Open mjrider opened 5 years ago
i found this issue when i was trying to use scaleway as gitlab-runner with the docker+machine autoscaling feature. This prevents the gitlab-runner from functioning correctly because it could not delete instances
I've got similar issues using a 'docker+machine' gitlab runner. Gitlab runner can't remove archived machines. Errors found in /var/log/syslog:
ERROR: Error removing host "runner-7iqb95xu-dbnomics-autoscale-runner-1569232922-eb14a01e": StatusCode: 400, Type: invalid_request_error, APIMessage: server should be running name=runner-7iqb95xu-dbnomics-autoscale-runner-1569232922-eb14a01e operation=remove
Same problem here cannot remove archived machines
Same problem here. It really needs to delete the instance instead of archiving it.
Apr 24 15:50:02 orion gitlab-runner[31566]: About to remove runner-yjcsa7c4-gitlab-runner-autoscale-1587738586-0b2e29ff name=runner-yjcsa7c4-gitlab-runner-autoscale-1587738586-0b2e29ff operation=remove
Apr 24 15:50:02 orion gitlab-runner[31566]: WARNING: This action will delete both local reference and remote instance. name=runner-yjcsa7c4-gitlab-runner-autoscale-1587738586-0b2e29ff operation=remove
P.S.: I also have an issue where the MachineName is not reflected on Scaleway instances name.
I get the following error when trying to delete a stopped machine. Not sure if it is a machine driver or a api issue. But not being able to delete an stopped instance sound like a bug to me
after starting i'm able to delete the machine