Hi,
We have been successfully running a self-hosted runner on our infrastructure for about two years. However, it suddenly stopped working on Thursday 2024-10-17.
The runner is running as a docker container and we get the following error in the logs every 10 seconds:
Same issue for me, autoscale AWS runner based on circleci website blog/autoscale-self-hosted-runners-aws/ which has been working great for the past ~6 months until this week.
Just got a response from CircleCI support to indicate that we are using a deprecated solution. Read the message below.
I will post later on how we replace this deprecated solution.
After reviewing the logs, it appears that your runner is attempting to access an endpoint that was deprecated on April 30, 2024 . We have extended the support for this endpoint until the end of August to assist you during this transition period.
To mitigate this issue and ensure continued seamless operation, we recommend migrating from the launch agent to Machine Runner 3.0 . Please follow the appropriate migration guide based on your operating system:
​
Additionally, we will conduct a brownout from July 31st, 9 AM PST to August 1st, 9 AM PST (24 hours) to ensure all users are aware of the upcoming end-of-life.
I’m not able to share links, so you’ll need to build based on prepending with circleci and github below.
In my case it was a bit more complicated, basically the instructions at /blog/autoscale-self-hosted-runners-aws/ assume the no longer supported version of the runner, especially the content at github /sebastian-lerner/nodejs-circleci-runner/blob/main/aws_config/install_runner_ubuntu.sh
I was able to get things going again by sequencing in the changes from circleci docs/install-machine-runner-3-on-linux/ and replacing relevant content from
Key changes from previous:
Default workdir has changed from /opt to /var
Runner now runs as a dedicated “circleci” account instead of root. This necessitates "ExecStopPost=+shutdown -h" in the service file with leading “+” to run shutdown as root.