-
Notifications
You must be signed in to change notification settings - Fork 628
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
arm-runner-patch is invalid #1620
Comments
I'm starting to think that this should probably not live inside this module and should be something injected in by pre or post install user data hooks. Its likely this could change a lot over time and having to change this module each time it does seems inconvenient. @npalm WDYT? |
Agree, supporting ARM on os and architecture level by the module is fine. But maybe better to move the tailored script to an example with indeed a pre / post hook. Any help would be welcome! |
I've had a go at fixing the patch in #1624, it makes the arm runners boot correctly and appear to accept a job. However the job never actually starts and eventually times out. Is this patch even required anymore? If the patch is still necessary, I agree that it should be solved with an example in the documentation instead of being hardcoded. The user-data scripts are not as flexible as I would like as they are, so I think there's definitely some improvement that we can make there along with this change. If someone can point me in the right direction for how to get the ARM runners working correctly again, I'm happy to do another PR for all this. |
We don't currently use ARM runners in our fleet so I'm not sure if this is needed or how to solve it I'm afraid. Maybe the original contributor could help here? Looks like it was originally added in #102 by @bdruth I wonder if its still being used. Do you have any suggestions on how you would like to see the user data handling improved? |
The userdata scripts are a little hard to customise. You can override the entire thing with |
Agree it is quite limited. You can use the following hooks to inject the default module scripts for starting and installing the runners.
The injected scripts are not customisable at this moment. |
It would be possible to make the other parts customisable too. Happy to review a PR to include this. |
The arm-runner-patch.tpl is trying to apply invalid patches during boot time. By checking
/var/log/user-data.log
I can see the follow errors:I then checked the files that it is trying to patch and the json files do not match:
Instead they contain:
Which must be making the patch fail. My runners are then failing to boot and not accepting any workflow jobs.
The text was updated successfully, but these errors were encountered: