[Bug][API] Team API is not working in k8s deployment #8271
Labels
severity/p0
This bug blocks key user journey and function
severity/p1
This bug affects functionality or significantly affect ux
type/bug
This issue is a bug
Search before asking
What happened
Team and user API is not working and not able to fill the teams and user data. My deployment is done on kubernetes and all the values filled up as per the documentation. All other functionalities are working as expected but teams and users data api is not working and responding 500.
Here is the log from the container:
The CSV is in UTF-8 format and I followed steps provided here - https://devlake.apache.org/docs/Configuration/TeamConfiguration/.
When I try to deploy it locally using docker-compose with same images then it is updating the tables as expected. I am blocked as I need the data in k8s cluster where it is not working.
What do you expect to happen
Fill the teams and users table with CSV data.
How to reproduce
Deploy to k8s cluster using helm chart and try to fill up teams and users data using API.
Anything else
My suspicion is that PUT request is copying the CSV file to the container volume but as per chart volume option is removed. This is leading to invalid reference and causing this issue.
When I look at the revision history, I see there used to be a stateful set being deployed for lake but later it was removed here. My understanding is that container does not have any volume to write the CSV to.
Version
v1.0.2-beta4
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: