-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Atlantis apply fails because of git dubious ownership #3139
Comments
Was able to fix the issue like this comment |
Thanks @BenoitLF. This would be nice to add to our troubleshooting page. We welcome PRs if you have the time |
@nitrocode and @BenoitLF for me it's not working, why enable_ephemeral_storage = true? |
enable_ephemeral_storage does not work ? |
@BenoitLF I use that config
But is failing with: detected dubious ownership in repository |
This has broke our Atlantis as well. We do not use access points, we provision EFS, and then allow the EFS csi to do the provisioning. We are failing to download modules |
Perhaps this command needs to be running Atlantis on a new pr or in a pre workflow hook?
|
OK, i actually figured out whats going on, but im not sure why it just now started failed. We have atlantis in 2 clusters, handling deployments for like 20+ repos. So both are heavily used and have went through multiple upgrades etc. We provision EFS using the EFS CSI helm chart. The default setting for your provisioner is to use a random range for the UID/GID for the EFS mount. So the atlantis helm chart allows you to lock the uid/gid of the user to The other atlantis deployment is currently working.. and the EFS mount is owned by |
Encountered this issue from today so will try #3139 (comment) and it seems to have worked around the issue for now at least |
you can do this too:
|
Using this to overcome the issue as I think persistent storage makes sense (maybe I am wrong). A not so nice side effect is that now the hook, that we use as a workaround, will show up on PR status #3173 would allow getting rid of this if worked on |
You can just add description field that looks more appealing ;)
|
Community Note
Overview of the Issue
Atlantis plan works but the apply does not because of a git error (similar to : this issue)
Logs
Environment details
The text was updated successfully, but these errors were encountered: