-
Notifications
You must be signed in to change notification settings - Fork 272
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
[Bug]: Using Github Actions Runner Controller: No 'run' handler configured for type 'container' #6493
Comments
Hi @frizzr, thanks for reporting this! We are taking a look. |
Hi @frizzr, thanks for the repo with the reproducible example, that was super helpful.
Does that make sense? Please feel free to ask any follow-up questions that come to mind! |
Bug
Current behavior
We are running Garden in an instance of Github Enterprise using Github Actions, and we serve up runners from an AWS EKS cluster using Github Actions Runner Controller (ARC.) This means the runner runs in a Pod in that EKS cluster.
From within that runner pod container (which does have its parent container's
/var/run/docker.sock
mapped into it and is able to run containers inside the environment even without Garden) while trying to do agarden run
of run type container, we always encounter this error:No 'run' handler configured for Run type 'container' in environment 'ci'. Are you missing a provider configuration?
The docs state the container provider is automatically included, but we have tried it both ways without specifying any providers and explicitly specifying the container provider in the root
project.garden.yml
The container we are running Garden in has full internet access and we have successfully been able to download and/or update Garden either inline during the build and also installing garden beforehand to our base runner image.
We are not running using the Garden dashboard, so we do not login to Garden, but we understand this should not be an issue.
As a base test to eliminate our runner image environment, we have manually run our base runner image outside of our ARC runner on a local Docker running on a laptop. We cannot reproduce the error in a local environment and garden runs successfully, so there is something specific to running within ARC that causes this error.
Expected behavior
A successful run of Garden within a K8s pod in an AWS EKS cluster running ARC.
Reproducible example
Of course this is kind of hard to provide given it requires the use of ARC in the context of AWS EKS to reproduce the issue.
We realize there is something unique about the environment we are running Garden in that causes this error, but the Garden error logs are not particularly helpful in troubleshooting the issue even at the lowest log level.
Still, below is a subset of our build repository using Garden with source files removed but including Github Action workflows along with a copy of the output of the Github Actions workflow (including the full set of environment variables printed out) in the build-debug-outputs directory:
garden-debug
More than anything, we are simply looking for a way to debug this issue and some help pointing us in the right direction. We are able to pause the CI/CD process and we can shell into the running build job container in the EKS cluster if need be, but we would like some direction on things to change in that environment before we go further. Hopefully it will be something simpler than that.
Workaround
None.
Suggested solution(s)
None.
Additional context
See above.
Your environment
garden version: 0.13.41
The text was updated successfully, but these errors were encountered: