Open maipal-c opened 2 days ago
Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.
Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.
hey @carrodher,
which approach i should use? preStop "sleep 30" OR postStart "rm /usr/local/apisix/logs/worker_events.sock" OR maybe preStop "rm /usr/local/apisix/logs/worker_events.sock". i'll be happy to contribute that small code segment.
currently i am testing preStop "sleep 20" for my installation...
drop in the approach, i'll submit PR
thank you
Name and Version
bitnami/apisix:3.5.0
What architecture are you using?
arm64
What steps will reproduce the bug?
1 install the chart using the values below
Are you using any custom parameters or values?
default values with coraza wasm plugin enabled on the control plane & data plane
What is the expected behavior?
on recreation of container, it should start normally.
What do you see instead?
"2024/10/06 13:26:22 [emerg] 1#1: bind() to unix:/usr/local/apisix/logs/worker_events.sock failed (98: Address already in use)"
Additional information
same issue on apisix github repo, here
possible fix -
In Apisix's official helm chart they have a lifecycle hook -
maybe we should also use a prestart hook that will run "rm /usr/local/apisix/logs/worker_events.sock" or maybe use the same apisix approach