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]: Error trying to up milvus docker-conteiner ERROR 134 #37956

Closed
1 task done
GBrochado opened this issue Nov 22, 2024 · 4 comments
Closed
1 task done

[Bug]: Error trying to up milvus docker-conteiner ERROR 134 #37956

GBrochado opened this issue Nov 22, 2024 · 4 comments
Assignees
Labels
help wanted Extra attention is needed kind/bug Issues or changes related a bug

Comments

@GBrochado
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version: 2.4.15
- Deployment mode(standalone or cluster): standalone
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): Ubuntu
- CPU/Memory: i7 11th / 124GB RAM
- GPU: RTX 3060
- Others:

Current Behavior

milvus-standalone | [2024/11/22 18:11:57.873 +00:00] [ERROR] [querynodev2/server.go:359] ["QueryNode init segcore failed"] [error="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]"] [errorVerbose="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/util/initcore.HandleCStatus\n | \t/workspace/source/internal/util/initcore/init_core.go:218\n | github.com/milvus-io/milvus/internal/util/initcore.InitRemoteChunkManager\n | \t/workspace/source/internal/util/initcore/init_core.go:171\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).InitSegcore\n | \t/workspace/source/internal/querynodev2/server.go:244\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init.func1\n | \t/workspace/source/internal/querynodev2/server.go:357\n | sync.(*Once).doSlow\n | \t/usr/local/go/src/sync/once.go:74\n | sync.(*Once).Do\n | \t/usr/local/go/src/sync/once.go:65\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init\n | \t/workspace/source/internal/querynodev2/server.go:276\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n | \t/workspace/source/internal/distributed/querynode/service.go:143\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n | \t/workspace/source/internal/distributed/querynode/service.go:222\n | github.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n | \t/workspace/source/cmd/components/query_node.go:59\n | github.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n | \t/workspace/source/cmd/roles/roles.go:126\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1650\nWraps: (2) [UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\nError types: (1) *withstack.withStack (2) *errutil.leafError"] [stack="github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init.func1\n\t/workspace/source/internal/querynodev2/server.go:359\nsync.(*Once).doSlow\n\t/usr/local/go/src/sync/once.go:74\nsync.(*Once).Do\n\t/usr/local/go/src/sync/once.go:65\ngithub.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init\n\t/workspace/source/internal/querynodev2/server.go:276\ngithub.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n\t/workspace/source/internal/distributed/querynode/service.go:143\ngithub.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n\t/workspace/source/internal/distributed/querynode/service.go:222\ngithub.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n\t/workspace/source/cmd/components/query_node.go:59\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:126"]
milvus-standalone | [2024/11/22 18:11:57.873 +00:00] [ERROR] [querynode/service.go:144] ["QueryNode init error: "] [error="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]"] [errorVerbose="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/util/initcore.HandleCStatus\n | \t/workspace/source/internal/util/initcore/init_core.go:218\n | github.com/milvus-io/milvus/internal/util/initcore.InitRemoteChunkManager\n | \t/workspace/source/internal/util/initcore/init_core.go:171\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).InitSegcore\n | \t/workspace/source/internal/querynodev2/server.go:244\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init.func1\n | \t/workspace/source/internal/querynodev2/server.go:357\n | sync.(*Once).doSlow\n | \t/usr/local/go/src/sync/once.go:74\n | sync.(*Once).Do\n | \t/usr/local/go/src/sync/once.go:65\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init\n | \t/workspace/source/internal/querynodev2/server.go:276\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n | \t/workspace/source/internal/distributed/querynode/service.go:143\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n | \t/workspace/source/internal/distributed/querynode/service.go:222\n | github.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n | \t/workspace/source/cmd/components/query_node.go:59\n | github.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n | \t/workspace/source/cmd/roles/roles.go:126\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1650\nWraps: (2) [UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\nError types: (1) *withstack.withStack (2) *errutil.leafError"] [stack="github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n\t/workspace/source/internal/distributed/querynode/service.go:144\ngithub.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n\t/workspace/source/internal/distributed/querynode/service.go:222\ngithub.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n\t/workspace/source/cmd/components/query_node.go:59\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:126"]
milvus-standalone | [2024/11/22 18:11:57.874 +00:00] [ERROR] [components/query_node.go:60] ["QueryNode starts error"] [error="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]"] [errorVerbose="[UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus/internal/util/initcore.HandleCStatus\n | \t/workspace/source/internal/util/initcore/init_core.go:218\n | github.com/milvus-io/milvus/internal/util/initcore.InitRemoteChunkManager\n | \t/workspace/source/internal/util/initcore/init_core.go:171\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).InitSegcore\n | \t/workspace/source/internal/querynodev2/server.go:244\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init.func1\n | \t/workspace/source/internal/querynodev2/server.go:357\n | sync.(*Once).doSlow\n | \t/usr/local/go/src/sync/once.go:74\n | sync.(*Once).Do\n | \t/usr/local/go/src/sync/once.go:65\n | github.com/milvus-io/milvus/internal/querynodev2.(*QueryNode).Init\n | \t/workspace/source/internal/querynodev2/server.go:276\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).init\n | \t/workspace/source/internal/distributed/querynode/service.go:143\n | github.com/milvus-io/milvus/internal/distributed/querynode.(*Server).Run\n | \t/workspace/source/internal/distributed/querynode/service.go:222\n | github.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n | \t/workspace/source/cmd/components/query_node.go:59\n | github.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n | \t/workspace/source/cmd/roles/roles.go:126\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1650\nWraps: (2) [UnknownError] precheck chunk manager client failed, error:Error in ListObjects[errcode:400, exception:AuthorizationQueryParametersError, errmessage:Unable to parse ExceptionName: AuthorizationQueryParametersError Message: Error parsing the X-Amz-Credential parameter; incorrect date format. This date in the credential must be in the format "yyyyMMdd"., params:params, bucket=a-bucket, prefix=justforconnectioncheck], configuration:[address=minio:9000, bucket_name=a-bucket, root_path=files, storage_type=remote, cloud_provider=aws, iam_endpoint=, log_level=fatal, region=, useSSL=false, sslCACert=19, useIAM=false, useVirtualHost=false, requestTimeoutMs=10000]\nError types: (1) *withstack.withStack (2) *errutil.leafError"] [stack="github.com/milvus-io/milvus/cmd/components.(*QueryNode).Run\n\t/workspace/source/cmd/components/query_node.go:60\ngithub.com/milvus-io/milvus/cmd/roles.runComponent[...].func1\n\t/workspace/source/cmd/roles/roles.go:126"]

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@GBrochado GBrochado added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 22, 2024
@davloperez
Copy link

@GBrochado take a look at #34983, it could be the same issue

@yanliang567
Copy link
Contributor

/assign @GBrochado
could you please try with the suggestions in the issue above.
/unassign

@yanliang567 yanliang567 added help wanted Extra attention is needed and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 25, 2024
@GBrochado
Copy link
Author

Thanks for the help, I just add internal: true in networks on docker-compose and now its working. Thanks a lot

@GBrochado
Copy link
Author

Correction:
standalone:
container_name: milvus-standalone
image: milvusdb/milvus:v2.4.15
command: ["milvus", "run", "standalone"]
security_opt:
- seccomp:unconfined
environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
MINIO_REGION: us-east-1 # add default region
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
interval: 30s
start_period: 90s
timeout: 20s
retries: 3
ports:
- "19530:19530"
- "9091:9091"
depends_on:
- "etcd"
- "minio"

  Just add MINIO_REGION: us-east-1  # add default region 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed kind/bug Issues or changes related a bug
Projects
None yet
Development

No branches or pull requests

3 participants