Skip to content

Instantly share code, notes, and snippets.

@RaminNietzsche
Last active May 20, 2023 11:49
Show Gist options
  • Save RaminNietzsche/1ff266a6158b437319dcd2eb10eeb34e to your computer and use it in GitHub Desktop.
Save RaminNietzsche/1ff266a6158b437319dcd2eb10eeb34e to your computer and use it in GitHub Desktop.
Bucket Location:
2023-05-20T11:40:39.010+0000 7fc457a86700 10 req 4201805358795926877 0.004000033s delaying v4 auth
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s date_k = f2568c28e9be7c2befd1a3c3b1dce0673ced3b9cf8f2d136ce36a6e5c429f654
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s region_k = 987bf09fb87985664f4aa1d1127a7dbe1169cecdbef22d5a8830f75128538f33
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s service_k = 440dc8af5b8e8be8461c11e7bf8335ebb065e21d29b6d9860132caa6e95187f4
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s signing_k = 1e3d040be333096c0ff2af3fd24d8117e8c43109ebcc889c1af519990be86a6a
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s generated signature = 2f675a6cff166a9d48c405ef723bcebd7d802fc1c5d6a3b2d8583659dbe9757f
2023-05-20T11:40:39.022+0000 7fc455a82700 2 req 4201805358795926877 0.016000135s s3:create_bucket normalizing buckets and tenants
2023-05-20T11:40:39.022+0000 7fc455a82700 10 req 4201805358795926877 0.016000135s s->object=<NULL> s->bucket=opa-test3
2023-05-20T11:40:39.022+0000 7fc455a82700 2 req 4201805358795926877 0.016000135s s3:create_bucket init permissions
2023-05-20T11:40:39.022+0000 7fc45427f700 2 req 4201805358795926877 0.016000135s s3:create_bucket recalculating target
2023-05-20T11:40:39.022+0000 7fc45427f700 2 req 4201805358795926877 0.016000135s s3:create_bucket reading permissions
2023-05-20T11:40:39.022+0000 7fc45427f700 2 req 4201805358795926877 0.016000135s s3:create_bucket init op
2023-05-20T11:40:39.022+0000 7fc45427f700 2 req 4201805358795926877 0.016000135s s3:create_bucket verifying op mask
2023-05-20T11:40:39.022+0000 7fc45427f700 2 req 4201805358795926877 0.016000135s s3:create_bucket verifying op permissions
2023-05-20T11:40:39.026+0000 7fc461299700 2 req 4201805358795926877 0.020000167s s3:create_bucket verifying op params
2023-05-20T11:40:39.026+0000 7fc461299700 2 req 4201805358795926877 0.020000167s s3:create_bucket pre-executing
2023-05-20T11:40:39.026+0000 7fc461299700 2 req 4201805358795926877 0.020000167s s3:create_bucket executing
2023-05-20T11:40:39.026+0000 7fc461299700 5 req 4201805358795926877 0.020000167s s3:create_bucket NOTICE: call to do_aws4_auth_completion
2023-05-20T11:40:39.026+0000 7fc461299700 10 req 4201805358795926877 0.020000167s s3:create_bucket v4 auth ok -- do_aws4_auth_completion
2023-05-20T11:40:39.026+0000 7fc461299700 10 req 4201805358795926877 0.020000167s s3:create_bucket create bucket location constraint: abrak
2023-05-20T11:40:39.030+0000 7fc47aacc700 10 req 4201805358795926877 0.024000200s s3:create_bucket user=development bucket=:opa-test3[])
2023-05-20T11:40:39.118+0000 7fc451a7a700 2 req 4201805358795926877 0.112000942s s3:create_bucket completing
2023-05-20T11:40:39.122+0000 7fc451279700 2 req 4201805358795926877 0.116000973s s3:create_bucket op status=0
2023-05-20T11:40:39.122+0000 7fc451279700 2 req 4201805358795926877 0.116000973s s3:create_bucket http status=200
2023-05-20T11:40:39.122+0000 7fc451279700 1 ====== req done req=0x7fc51cf3a620 op status=0 http_status=200 latency=0.116000973s ======
2023-05-20T11:40:39.122+0000 7fc451279700 1 beast: 0x7fc51cf3a620: 172.64.0.1 - development [20/May/2023:11:40:39.006 +0000] "PUT /opa-test3/ HTTP/1.1" 200 0 - - - latency=0.116000973s
[default]
access_key = <KEY>
secret_key = <SECRET>
host_base = s3.zonegroup1.mydomain.com
host_bucket = s3.%(location)s.mydomain.com
#host_bucket = %(bucket)s.s3.zonegroup1.mydomain.com
#host_bucket = s3.%(location)s.mydomain.com
#host_bucket = s3.%(region)s.mydomain.com
bucket_location = zg1-api-name
use_https = False
> s3cmd --region zg2-api-name mb s3://test-zg2s3cmd info
s3://test-zg2s3://test-zg2/ (bucket):
Location: zg1-api-name
Payer: BucketOwner
Expiration Rule: none
Policy: none
CORS: none
ACL: development: FULL_CONTROL
> s3cmd --region zg1-api-name mb s3://test-zg2s3cmd info
s3://test-zg2s3://test-zg2/ (bucket):
Location: zg1-api-name
Payer: BucketOwner
Expiration Rule: none
Policy: none
CORS: none
ACL: development: FULL_CONTROL
{
"id": "fb3f818a-ca9b-4b12-b431-7cdcd80006d",
"name": "zg1-api-name",
"api_name": "zg1-api-name",
"is_master": "false",
"endpoints": [
"http://s3.zonegroup1.mydomain.com"
],
"hostnames": [
"s3.zonegroup1.mydomain.com"
],
"hostnames_s3website": [
"s3-website.zonegroup1.mydomain.com"
],
"master_zone": "at2-stg-zone",
"zones": [
{
"id": "at2-stg-zone",
"name": "at2-stg-zone",
"endpoints": [
"http://s3.zonegroup1.mydomain.com"
],
"log_meta": "false",
"log_data": "true",
"bucket_index_max_shards": 11,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": [],
"redirect_zone": ""
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": [],
"storage_classes": [
"STANDARD"
]
}
],
"default_placement": "default-placement",
"realm_id": "fa2f8194-4a9d-4b98-b411-9cdcd1e5506a",
"sync_policy": {
"groups": []
}
}
{
"id": "a513d60c-44a2-4289-a23d-b7a511be6ee4",
"name": "zg2-api-name",
"api_name": "zg2-api-name",
"is_master": "false",
"endpoints": [
"http://s3.zonegroup2.mydomain.com"
],
"hostnames": [
"s3.zonegroup2.mydomain.com"
],
"hostnames_s3website": [],
"master_zone": "zonegroup2-sh-1",
"zones": [
{
"id": "zonegroup2-sh-1",
"name": "zonegroup2-sh-1",
"endpoints": [
"http://s3.zonegroup2.mydomain.com"
],
"log_meta": "false",
"log_data": "false",
"bucket_index_max_shards": 11,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": [],
"redirect_zone": ""
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": [],
"storage_classes": [
"STANDARD"
]
}
],
"default_placement": "default-placement",
"realm_id": "fa2f8194-4a9d-4b98-b411-9cdcd1e5506a",
"sync_policy": {
"groups": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment