Skip to content

Commit 4a45bcb

Browse files
authored
[fix](doris compose) fix create storage vault fail (#59553)
``` MySQL [email protected]:db1> CREATE STORAGE VAULT IF NOT EXISTS default_vault -> PROPERTIES ( -> "type" = "S3", -> "s3.access_key" = "AKIDsZHqgyhDSRBpDONtHPHua6MRUN0Wnpci", -> "s3.secret_key" = "0kOmumPnwpSr2ye6KSQ9cpmS4XN4VtDJ", -> "s3.endpoint" = "cos.ap-hongkong.myqcloud.com", -> "s3.bucket" = "gavin-test-hk-1308700295", -> "s3.region" = "ap-hongkong", -> "s3.root.path" = "2737cb44-71d7-42c5-a553-93431ac23496", -> "provider" = "COS", -> "use_path_style" = "false" -> ); -> (1105, 'errCode = 2, detailMessage = pingS3 failed(put), please check your endpoint, ak/sk or permissions(put/head/delete/list/multipartUpload), status: [COMMON_ERROR, msg: connect to s3 failed: java.net.SocketTimeoutException: Read timed out], properties: "s3.region" = "ap-hongkong", "s3.endpoint" = "http://cos.ap-hongkong.myqcloud.com", "provider" = "COS", "s3.secret_key" = "*XXX", "s3.access_key" = "*XXX", "s3.bucket" = "gavin-test-hk-1308700295", "use_path_style" = "false", "type" = "S3", "s3.root.path" = "2737cb44-71d7-42c5-a553-93431ac23496"') ```
1 parent bf2e1c2 commit 4a45bcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/runtime/doris-compose/database.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def create_default_storage_vault(self, cloud_store_config):
184184
"s3.region" = "{cloud_store_config['DORIS_CLOUD_REGION']}",
185185
"s3.root.path" = "{str(uuid.uuid4())}",
186186
"provider" = "{cloud_store_config['DORIS_CLOUD_PROVIDER']}",
187+
"s3_validity_check" = "false",
187188
"use_path_style" = "false"
188189
);
189190
"""

0 commit comments

Comments
 (0)