milvus: [Bug]: log.file.rootPath failed to apply in milvus 2.0.2
Is there an existing issue for this?
- I have searched the existing issues
Environment
- Milvus version:2.0.2
- Deployment mode(standalone or cluster):cluster
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others:
Current Behavior
Brought up the milvus cluster by running cmd helm install -f ./charts/milvus/values.yaml milvus-dev milvus/milvus
with the following log settings:
log:
level: "debug"
file:
rootPath: "/tmp"
maxSize: 300 # MB
maxAge: 10 # day
maxBackups: 20
format: "text" # text/json
persistence:
mountPath: "/milvus/logs"
## If true, create/use a Persistent Volume Claim
## If false, use emptyDir
##
enabled: false
annotations:
helm.sh/resource-policy: keep
persistentVolumeClaim:
existingClaim: ""
## Milvus Logs Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner.
## ReadWriteMany access mode required for milvus cluster.
##
storageClass: gp3
accessModes: ReadWriteMany
size: 100Gi
subPath: ""
After cluster was up, checked the queryNode but /milvus/configs/milvus.yaml
showed log.file.rootPath
as the empty string “”.
Expected Behavior
Expect to see logs
folder auto-created under the specified path log.file.rootPath
.
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (9 by maintainers)
Another question to note is that:
When etcd member is starting, it will calculate the
cluster_id
based on the peer urls, we’d filter out thepod-ip.<svc-name>.svc.cluster.local
dns name, using theheadless
svc name.This is temporarily fixed using the following image:
After the performance test and stability test are all passed, we’ll push this image to
milvusdb/etcd
repository.This is the config error for pulsar zookeeper. Please keep the same format like this: