Skip to content
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-backup exception error #432

Open
zhangzf875 opened this issue Sep 24, 2024 · 3 comments
Open

[Bug]: milvus-backup exception error #432

zhangzf875 opened this issue Sep 24, 2024 · 3 comments

Comments

@zhangzf875
Copy link

Current Behavior

When milvus-backup is installed, run. /milvus-backup server to start the service. Then run the. /milvus-backup check command. An error is detected:
0.4.24 (Built on 2024-09-20T02:08:15Z from Git SHA 2906920)
config:backup.yaml
[2024/09/24 14:43:48.558 +08:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/09/24 14:43:48.558 +08:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/09/24 14:43:48.564 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
[2024/09/24 14:43:48.765 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
[2024/09/24 14:43:49.166 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
[2024/09/24 14:43:49.967 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
[2024/09/24 14:43:51.568 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
[2024/09/24 14:43:54.571 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]
The configuration is all default, what should I do with this,Have any friends met them

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

@zhuwenxing
Copy link
Collaborator

[2024/09/24 14:43:48.564 +08:00] [WARN] [storage/minio_chunk_manager.go:115] ["failed to check blob bucket exist"] [bucket=a-bucket] [error="Get "http://localhost:9000/a-bucket/?location=": dial tcp 127.0.0.1:9000: connect: connection refused"]

As the log indicates, this error is caused by the failure to connect to Minio. Could you please confirm your Minio configuration?

The configuration is all default

If your Milvus is deployed via Docker Compose and Milvus-backup is running on the same machine, the default configuration will work. However, if your Milvus deployment is not in this way, you'll need to configure it case-by-case.

@zhangzf875
Copy link
Author

I used docker to install and deploy, but now I don't know how to modify the configuration

@wayblink
Copy link
Contributor

@zhangzf875 It may caused by the port of minio is not exposed outside the docker. Need to edit the docker yaml to expose the ports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants