-
Notifications
You must be signed in to change notification settings - Fork 50
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]: The address and prot in the Minio configuration section of the configuration do not work #466
Comments
The 'Address' should be a ip or address not 'minio' |
Thank you for your reply. My operating environment is in Docker, and minio is the container name. Do I also need to change it to IP? Docker-compose.yml as follows
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
root@0954a0f727c6:/milvus/bin# cat configs/backup.yaml
root@0954a0f727c6:/milvus/bin# ./milvus-backup create -c merged_embedd_vector_1 -n mybak
0.4.26 (Built on 2024-10-30T09:28:19Z from Git SHA dd45150)
config:backup.yaml
[2024/11/21 07:13:04.235 +00:00] [INFO] [logutil/logutil.go:165] ["Log directory"] [configDir=]
[2024/11/21 07:13:04.235 +00:00] [INFO] [logutil/logutil.go:166] ["Set log file to "] [path=logs/backup.log]
[2024/11/21 07:13:04.237 +00:00] [INFO] [core/backup_impl_create_backup.go:32] ["receive CreateBackupRequest"] [requestId=0cdcf9a7-a7d8-11ef-872d-0242c0a81004] [backupName=mybak] [collections="[merged_embedd_vector_1]"] [databaseCollections=] [async=false] [force=false] [metaOnly=false]
[2024/11/21 07:13:04.237 +00:00] [INFO] [core/backup_context.go:117] ["{Base:0xc0005b2dc0 MaxSegmentGroupSize:2147483648 BackupCollectionParallelism:4 BackupCopyDataParallelism:128 RestoreParallelism:2 KeepTempFiles:false GcPauseEnable:true GcPauseSeconds:7200 GcPauseAddress:http://minioadmin:9091}"]
[2024/11/21 07:13:04.237 +00:00] [INFO] [core/backup_context.go:118] ["{Base:0xc0005b2dc0 Enabled:true DebugMode:false SimpleResponse:true}"]
[2024/11/21 07:13:04.237 +00:00] [ERROR] [core/backup_context.go:212] ["failed to initial storage client"] [error="Endpoint: minio:9000:9000 does not follow ip address or domain name standards."] [stack="github.com/zilliztech/milvus-backup/core.(*BackupContext).getBackupStorageClient\n\t/home/runner/work/milvus-backup/milvus-backup/core/backup_context.go:212\ngithub.com/zilliztech/milvus-backup/core.(*BackupContext).CreateBackup\n\t/home/runner/work/milvus-backup/milvus-backup/core/backup_impl_create_backup.go:59\ngithub.com/zilliztech/milvus-backup/cmd.glob..func3\n\t/home/runner/work/milvus-backup/milvus-backup/cmd/create.go:61\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:876\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:990\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:918\ngithub.com/zilliztech/milvus-backup/cmd.Execute\n\t/home/runner/work/milvus-backup/milvus-backup/cmd/root.go:35\nmain.main\n\t/home/runner/work/milvus-backup/milvus-backup/main.go:24\nruntime.main\n\t/opt/hostedtoolcache/go/1.18.10/x64/src/runtime/proc.go:250"]
panic: Endpoint: minio:9000:9000 does not follow ip address or domain name standards.
goroutine 1 [running]:
github.com/zilliztech/milvus-backup/core.(*BackupContext).getBackupStorageClient(0xc00032d880)
/home/runner/work/milvus-backup/milvus-backup/core/backup_context.go:213 +0x653
github.com/zilliztech/milvus-backup/core.(*BackupContext).CreateBackup(0xc00032d880, {0x150f928?, 0xc00013c000}, 0xc0001dd320)
/home/runner/work/milvus-backup/milvus-backup/core/backup_impl_create_backup.go:59 +0x985
github.com/zilliztech/milvus-backup/cmd.glob..func3(0x2582060?, {0x12e1ba0?, 0x4?, 0x4?})
/home/runner/work/milvus-backup/milvus-backup/cmd/create.go:61 +0x6ff
github.com/spf13/cobra.(*Command).execute(0x2582060, {0xc0006296c0, 0x4, 0x4})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:876 +0x67b
github.com/spf13/cobra.(*Command).ExecuteC(0x2582ce0)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:918
github.com/zilliztech/milvus-backup/cmd.Execute()
/home/runner/work/milvus-backup/milvus-backup/cmd/root.go:35 +0xbf
main.main()
/home/runner/work/milvus-backup/milvus-backup/main.go:24 +0x4a
root@0954a0f727c6:/milvus/bin#
Expected Behavior
No response
Steps To Reproduce
Environment
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: