devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Bug: Select Material not clickable & automatic builds not working

Open Casburggraaf opened this issue 9 months ago • 3 comments

📜 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

Leaf

🌍 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?

Casburggraaf avatar Apr 22 '25 06:04 Casburggraaf

Hi @Casburggraaf, what version of Devtron are you using ?

satyampsoni avatar Apr 22 '25 06:04 satyampsoni

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

tayalrishabh96 avatar Apr 23 '25 12:04 tayalrishabh96

This worked for some days but the problem is back again. i'm using the latest devtron version 1.4.0

Casburggraaf avatar Apr 30 '25 07:04 Casburggraaf