-
Notifications
You must be signed in to change notification settings - Fork 186
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
gitconfig credential.helper error: Resource busy #222
Comments
Thanks @kpettijohn for bringing this to our attention. @kpettijohn @nxf5025 could you see if there is a small change to fix this? |
Possible fix on #384. Please review. |
Just FYI, this isn't fixed as the volume mount is still mounted read-only. |
Yes! We are aware of that 😓 Recent discussions were here. Re-opening ! |
Hi! Please take a look at #407, to confirm this fixes the issue. 🙏 |
Hello there,
Why is that? Why is mounting directly to |
@qdm12 I'm not sure why |
It seems with the changes made in #203 Atlantis now throws an error when attempting to modify the git config.
https://github.com/runatlantis/helm-charts/pull/203/files#diff-a3b675e5633e3d9602003c23ede42b91c32bc10f4aed39235b204cff10c11bbdL131
Overall I believe this is due to changing the mount path to be
/home/atlantis/.gitconfig
instead of mounting the file to/etc/secret-gitconfig
and copying the file to/home/atlantis/.gitconfig
. This causes the/home/atlantis/.gitconfig
file to be read only so when Atlantis attempts to rungit config --global credential.helper store
it results in the errorResource busy
.It seems due to this error it causes all additional pre workflow hooks to be skipped which causes additional issues. I'm not totally sure what the best path forward is here. In our setup we include the git credential configuration as part of the
gitconfig
.Any ideas to fix or work around the issue would be appreciated!
The text was updated successfully, but these errors were encountered: