-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Milvus does not start if I setup minio seperately in the same namespace #38637
Comments
/assign @LoveEachDay /unassign |
@mananpreetsingh please check your url or offer your config files so we can point out your problem |
@xiaofan-luan I did mention the config above, this is the only custom config I have added except default helm config. I have not specifed any endpoint config anywhere except minio address which I mentioned above. simple way to reproduce it:
|
The reason is milvus see some meta on etcd, but the file is not on minio. We don't know details, but some reasonable guess:
Your Minio is init successfully, now the problem is that from meta milvus thought some data should be there but minio don't have that data. |
@xiaofan-luan Thanks for the explanation.
Is it even possible for milvus to use minio which is not created by milvus?
Need help how to make milvus working in a same namespace where minio is. |
Is there an existing issue for this?
Environment
Current Behavior
When I deploy minio separately using its own helm chart and then install milvus referencing minio it does not work and throws error.
Expected Behavior
It should recognize the external minio.
Steps To Reproduce
Milvus Log
[2024/12/19 23:20:44.291 +00:00] [WARN] [client/client.go:100] ["RootCoordClient mess key not exist"] [key=rootcoord]
[2024/12/19 23:20:44.291 +00:00] [WARN] [grpcclient/client.go:255] ["failed to get client address"] [error="find no available rootcoord, check rootcoord state"]
[2024/12/19 23:20:44.291 +00:00] [WARN] [grpcclient/client.go:468] ["fail to get grpc client in the retry state"] [client_role=rootcoord] [error="find no available rootcoord, check rootcoord state"]
[2024/12/19 23:20:44.291 +00:00] [WARN] [retry/retry.go:130] ["retry func failed"] [retried=0] [error="empty grpc client: find no available rootcoord, check rootcoord state"] [errorVerbose="empty grpc client: find no available rootcoord, check rootcoord state\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).call.func2\n | \t/workspace/source/internal/util/grpcclient/client.go:481\n | github.com/milvus-io/milvus/pkg/util/retry.Handle\n | \t/workspace/source/pkg/util/retry/retry.go:128\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).call\n | \t/workspace/source/internal/util/grpcclient/client.go:474\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).Call\n | \t/workspace/source/internal/util/grpcclient/client.go:561\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).ReCall\n | \t/workspace/source/internal/util/grpcclient/client.go:577\n | github.com/milvus-io/milvus/internal/distributed/rootcoord/client.wrapGrpcCall[...]\n | \t/workspace/source/internal/distributed/rootcoord/client/client.go:117\n | github.com/milvus-io/milvus/internal/distributed/rootcoord/client.(*Client).GetComponentStates\n | \t/workspace/source/internal/distributed/rootcoord/client/client.go:131\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentStates[...].func1\n | \t/workspace/source/internal/util/componentutil/componentutil.go:39\n | github.com/milvus-io/milvus/pkg/util/retry.Do\n | \t/workspace/source/pkg/util/retry/retry.go:44\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentStates[...]\n | \t/workspace/source/internal/util/componentutil/componentutil.go:64\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentHealthy[...]\n | \t/workspace/source/internal/util/componentutil/componentutil.go:85\n | github.com/milvus-io/milvus/internal/distributed/proxy.(*Server).init\n | \t/workspace/source/internal/distributed/proxy/service.go:476\n | github.com/milvus-io/milvus/internal/distributed/proxy.(*Server).Run\n | \t/workspace/source/internal/distributed/proxy/service.go:403\n | github.com/milvus-io/milvus/cmd/components.(*Proxy).Run\n | \t/workspace/source/cmd/components/proxy.go:60\n | github.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n | \t/workspace/source/cmd/roles/roles.go:129\n | runtime.goexit\n | \t/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695\nWraps: (2) empty grpc client\nWraps: (3) find no available rootcoord, check rootcoord state\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.errorString"]
[2024/12/19 23:20:44.365 +00:00] [DEBUG] [server/rocksmq_retention.go:80] ["Rocksmq retention goroutine start!"]
[2024/12/19 23:20:44.365 +00:00] [INFO] [msgstream/mq_factory.go:244] ["init rocksmq msgstream success"] [path=/var/lib/milvus/rdb_data]
[2024/12/19 23:20:44.366 +00:00] [DEBUG] [sessionutil/session_util.go:263] ["Session try to connect to etcd"]
[2024/12/19 23:20:44.366 +00:00] [DEBUG] [sessionutil/session_util.go:278] ["Session connect to etcd success"]
[2024/12/19 23:20:44.368 +00:00] [DEBUG] [sessionutil/session_util.go:322] [getServerID] [reuse=true]
[2024/12/19 23:20:44.370 +00:00] [DEBUG] [sessionutil/session_util.go:399] ["Session get serverID success"] [key=id] [ServerId=249]
[2024/12/19 23:20:44.370 +00:00] [INFO] [sessionutil/session_util.go:296] ["start server"] [name=indexcoord] [address=10.244.0.65:13333] [id=249] [server_labels={}]
[2024/12/19 23:20:44.370 +00:00] [DEBUG] [sessionutil/session_util.go:263] ["Session try to connect to etcd"]
[2024/12/19 23:20:44.370 +00:00] [DEBUG] [sessionutil/session_util.go:278] ["Session connect to etcd success"]
[2024/12/19 23:20:44.371 +00:00] [INFO] [etcd/etcd_util.go:52] ["create etcd client"] [useEmbedEtcd=false] [useSSL=false] [endpoints="[milvus-etcd-0.milvus-etcd-headless:2379]"] [minVersion=1.3]
[2024/12/19 23:20:44.372 +00:00] [DEBUG] [sessionutil/session_util.go:322] [getServerID] [reuse=true]
[2024/12/19 23:20:44.372 +00:00] [INFO] [sessionutil/session_util.go:296] ["start server"] [name=datacoord] [address=10.244.0.65:13333] [id=249] [server_labels={}]
[2024/12/19 23:20:44.372 +00:00] [DEBUG] [sessionutil/session_util.go:263] ["Session try to connect to etcd"]
[2024/12/19 23:20:44.372 +00:00] [DEBUG] [sessionutil/session_util.go:278] ["Session connect to etcd success"]
[2024/12/19 23:20:44.372 +00:00] [INFO] [datacoord/server.go:343] ["init rootcoord client done"]
[2024/12/19 23:20:44.372 +00:00] [ERROR] [datacoord/server.go:550] ["chunk manager init failed"] [error="Endpoint url cannot have fully qualified paths."] [stack="github.com/milvus-io/milvus/internal/datacoord.(*Server).newChunkManagerFactory\n\t/workspace/source/internal/datacoord/server.go:550\ngithub.com/milvus-io/milvus/internal/datacoord.(*Server).initDataCoord\n\t/workspace/source/internal/datacoord/server.go:348\ngithub.com/milvus-io/milvus/internal/datacoord.(*Server).Init\n\t/workspace/source/internal/datacoord/server.go:330\ngithub.com/milvus-io/milvus/internal/distributed/datacoord.(*Server).init\n\t/workspace/source/internal/distributed/datacoord/service.go:137\ngithub.com/milvus-io/milvus/internal/distributed/datacoord.(*Server).Run\n\t/workspace/source/internal/distributed/datacoord/service.go:276\ngithub.com/milvus-io/milvus/cmd/components.(*DataCoord).Run\n\t/workspace/source/cmd/components/data_coord.go:60\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:129"]
[2024/12/19 23:20:44.372 +00:00] [ERROR] [datacoord/service.go:138] ["dataCoord init error"] [error="Endpoint url cannot have fully qualified paths."] [stack="github.com/milvus-io/milvus/internal/distributed/datacoord.(*Server).init\n\t/workspace/source/internal/distributed/datacoord/service.go:138\ngithub.com/milvus-io/milvus/internal/distributed/datacoord.(*Server).Run\n\t/workspace/source/internal/distributed/datacoord/service.go:276\ngithub.com/milvus-io/milvus/cmd/components.(*DataCoord).Run\n\t/workspace/source/cmd/components/data_coord.go:60\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:129"]
[2024/12/19 23:20:44.372 +00:00] [ERROR] [components/data_coord.go:61] ["DataCoord starts error"] [error="Endpoint url cannot have fully qualified paths."] [stack="github.com/milvus-io/milvus/cmd/components.(*DataCoord).Run\n\t/workspace/source/cmd/components/data_coord.go:61\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:129"]
Anything else?
In milvus config for minio for some reason If I use minio address like below milvus pod starts otherwise it just crashes and restarts.
With above config above error changes to below:
`
[2024/12/20 15:00:43.997 +00:00] [WARN] [client/client.go:100] ["RootCoordClient mess key not exist"] [key=rootcoord]
[2024/12/20 15:00:43.997 +00:00] [WARN] [grpcclient/client.go:255] ["failed to get client address"] [error="find no available rootcoord, check rootcoord state"]
[2024/12/20 15:00:43.997 +00:00] [WARN] [grpcclient/client.go:461] ["fail to get grpc client"] [client_role=rootcoord] [error="find no available rootcoord, check rootcoord state"]
[2024/12/20 15:00:43.997 +00:00] [WARN] [grpcclient/client.go:482] ["grpc client is nil, maybe fail to get client in the retry state"] [client_role=rootcoord] [error="empty grpc client: find no available rootcoord, check rootcoord state"] [errorVerbose="empty grpc client: find no available rootcoord, check rootcoord state\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).call.func2\n | \t/workspace/source/internal/util/grpcclient/client.go:481\n | github.com/milvus-io/milvus/pkg/util/retry.Handle\n | \t/workspace/source/pkg/util/retry/retry.go:128\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).call\n | \t/workspace/source/internal/util/grpcclient/client.go:474\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).Call\n | \t/workspace/source/internal/util/grpcclient/client.go:561\n | github.com/milvus-io/milvus/internal/util/grpcclient.(*ClientBase[...]).ReCall\n | \t/workspace/source/internal/util/grpcclient/client.go:577\n | github.com/milvus-io/milvus/internal/distributed/rootcoord/client.wrapGrpcCall[...]\n | \t/workspace/source/internal/distributed/rootcoord/client/client.go:117\n | github.com/milvus-io/milvus/internal/distributed/rootcoord/client.(*Client).GetComponentStates\n | \t/workspace/source/internal/distributed/rootcoord/client/client.go:131\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentStates[...].func1\n | \t/workspace/source/internal/util/componentutil/componentutil.go:39\n | github.com/milvus-io/milvus/pkg/util/retry.Do\n | \t/workspace/source/pkg/util/retry/retry.go:44\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentStates[...]\n | \t/workspace/source/internal/util/componentutil/componentutil.go:64\n | github.com/milvus-io/milvus/internal/util/componentutil.WaitForComponentHealthy[...]\n | \t/workspace/source/internal/util/componentutil/componentutil.go:85\n | github.com/milvus-io/milvus/internal/distributed/proxy.(*Server).init\n | \t/workspace/source/internal/distributed/proxy/service.go:476\n | github.com/milvus-io/milvus/internal/distributed/proxy.(*Server).Run\n | \t/workspace/source/internal/distributed/proxy/service.go:403\n | github.com/milvus-io/milvus/cmd/components.(*Proxy).Run\n | \t/workspace/source/cmd/components/proxy.go:60\n | github.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n | \t/workspace/source/cmd/roles/roles.go:129\n | runtime.goexit\n | \t/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695\nWraps: (2) empty grpc client\nWraps: (3) find no available rootcoord, check rootcoord state\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.errorString"]
[2024/12/20 15:00:45.331 +00:00] [INFO] [storage/remote_chunk_manager.go:97] ["remote chunk manager init success."] [remote=minio] [bucketname=milvus] [root=.]
[2024/12/20 15:00:46.113 +00:00] [INFO] [compaction/load_stats.go:83] ["begin to init pk bloom filter"] [segmentID=454705838661601680] [statsBinLogsLen=1]
[2024/12/20 15:00:46.115 +00:00] [WARN] [storage/remote_chunk_manager.go:207] ["failed to read object"] [path=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373] [error="The specified key does not exist.: key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]"] [errorVerbose="The specified key does not exist.: key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/pkg/util/merr.WrapErrIoKeyNotFound\n | \t/workspace/source/pkg/util/merr/utils.go:887\n | github.com/milvus-io/milvus/internal/storage.checkObjectStorageError\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:424\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).Read.func1\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:205\n | github.com/milvus-io/milvus/pkg/util/retry.Do\n | \t/workspace/source/pkg/util/retry/retry.go:44\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).Read\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:194\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).MultiRead\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:235\n | github.com/milvus-io/milvus/internal/datanode/compaction.LoadStats\n | \t/workspace/source/internal/datanode/compaction/load_stats.go:121\n | github.com/milvus-io/milvus/internal/flushcommon/pipeline.initMetaCache.func1.1\n | \t/workspace/source/internal/flushcommon/pipeline/data_sync_service.go:164\n | github.com/milvus-io/milvus/pkg/util/conc.(*Pool[...]).Submit.func1\n | \t/workspace/source/pkg/util/conc/pool.go:81\n | github.com/panjf2000/ants/v2.(*goWorker).run.func1\n | \t/go/pkg/mod/github.com/panjf2000/ants/[email protected]/worker.go:67\n | runtime.goexit\n | \t/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695\nWraps: (2) The specified key does not exist.\nWraps: (3) key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"]
[2024/12/20 15:00:46.115 +00:00] [WARN] [retry/retry.go:46] ["retry func failed"] [retried=0] [error="The specified key does not exist.: key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]"] [errorVerbose="The specified key does not exist.: key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/pkg/util/merr.WrapErrIoKeyNotFound\n | \t/workspace/source/pkg/util/merr/utils.go:887\n | github.com/milvus-io/milvus/internal/storage.checkObjectStorageError\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:424\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).Read.func1\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:205\n | github.com/milvus-io/milvus/pkg/util/retry.Do\n | \t/workspace/source/pkg/util/retry/retry.go:44\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).Read\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:194\n | github.com/milvus-io/milvus/internal/storage.(*RemoteChunkManager).MultiRead\n | \t/workspace/source/internal/storage/remote_chunk_manager.go:235\n | github.com/milvus-io/milvus/internal/datanode/compaction.LoadStats\n | \t/workspace/source/internal/datanode/compaction/load_stats.go:121\n | github.com/milvus-io/milvus/internal/flushcommon/pipeline.initMetaCache.func1.1\n | \t/workspace/source/internal/flushcommon/pipeline/data_sync_service.go:164\n | github.com/milvus-io/milvus/pkg/util/conc.(*Pool[...]).Submit.func1\n | \t/workspace/source/pkg/util/conc/pool.go:81\n | github.com/panjf2000/ants/v2.(*goWorker).run.func1\n | \t/go/pkg/mod/github.com/panjf2000/ants/[email protected]/worker.go:67\n | runtime.goexit\n | \t/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695\nWraps: (2) The specified key does not exist.\nWraps: (3) key not found[key=stats_log/454705838661045424/454705838661045425/454705838661601680/108/454705838661246373]\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) merr.milvusError"]`
The text was updated successfully, but these errors were encountered: