milvus: [Bug]: Pods fail with "write failed: open /milvus/configs/milvus.yaml: permission denied"
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version: 2.2.3
- Deployment mode(standalone or cluster): cluster
- MQ type(rocksmq, pulsar or kafka): kafka
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory:
- GPU:
- Others:
Current Behavior
When I try to install the milvus helm chart on an Openshift cluster, the following pods go into a CrashLoopBackOff error: DataCoordinator DataNode IndexCoordinator IndexNode MilvusProxy QueryCoordinator QueryNode MilvusProxy
All the pods fail with the following message:
write failed: open /milvus/configs/milvus.yaml: permission denied
Expected Behavior
Expected milvus pods to get deployed successfully.
Steps To Reproduce
Install and deploy the milvus helm chart in an openshift cluster with the default config.
Milvus Log
No response
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (4 by maintainers)
@dugar-tarun For now you need to run milvus container with root. The
/milvus/configs/milvus.yaml
has the following permissions:We will merge config into
milvus.yaml
which requires write permission. So if you run as a non-root user, it will keep crashing.