Bug: Select Material not clickable & automatic builds not working
📜 Description
UI interactions related to Git materials are breaking — specifically, the “Select Material” option is unresponsive and automatic builds aren’t triggering. The issue appears to be related to gitsensor and may involve system resource limits (e.g. fork failures). Temporary fixes work but the issue recurs.
👟 Reproduction steps
1. Clicking “Select Material” in the UI doesn’t work.
2. Automatic builds are not triggering as expected.
👍 Expected behavior
That i cant make build without deleting the gitsensor pod
👎 Actual Behavior
automatic and manual builds not working
error: cannot fork() for ssh -i /git-base/ssh-keys/2/ssh_pvt_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no: Resource temporarily unavailable
fatal: unable to fork
☸ Kubernetes version
1.13.6 Devtron Version: 1.4.0
Cloud provider
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find any similar issue
🏢 Have you read the Code of Conduct?
- [x] I have read the Code of Conduct
Hi @Casburggraaf, what version of Devtron are you using ?
hey @Casburggraaf running below kubectl patch command should permanently fix the issue :
kubectl patch sts git-sensor -p '{"spec": {"template": {"spec": {"containers": [{"name": "git-sensor", "image": "quay.io/devtron/git-sensor:2b4b8363-954-31493"}]}}}}' -n devtroncd
This worked for some days but the problem is back again. i'm using the latest devtron version 1.4.0