2024-05-14 02:06:12 |
Kottur |
bug |
|
|
added bug |
2024-05-14 15:50:21 |
Kottur |
summary |
s3 list objects returns account:user instead of access key |
s3 list objects returns account:user instead of account-id |
|
2024-05-14 15:50:35 |
Kottur |
description |
s3 list objects returns account:user instead of access key
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns access key for the ID. |
s3 list objects returns account:user instead of account-id
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns access key for the ID. |
|
2024-05-14 15:51:06 |
Kottur |
description |
s3 list objects returns account:user instead of account-id
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns access key for the ID. |
s3 list objects returns account:user instead of account-id
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns account-id for the ID. |
|
2024-05-14 16:04:30 |
Kottur |
description |
s3 list objects returns account:user instead of account-id
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns account-id for the ID. |
s3 list objects returns account:user instead of Owner-Canonical-User-ID
s3cmd info s3://bucket/object
s3://bucket/object (object):
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b204e9800998ecf8427e
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_s3:ovh_staging-user1: FULL_CONTROL
Here is the functional test dump
ipdb> break /var/swift/test/functional/s3api/test_bucket.py:50
Breakpoint 1 at /var/swift/test/functional/s3api/test_bucket.py:50
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/test/functional/s3api/test_bucket.py(50)_validate_object_listing()
48 self.assertNotIn('Owner', obj)
49 elif tf.cluster_info['s3api'].get('s3_acl'):
1--> 50 self.assertEqual(obj['Owner']['ID'], self.access_key)
51 self.assertEqual(obj['Owner']['DisplayName'], self.access_key)
52 else:
ipdb> print(obj)
{'Key': 'object', 'LastModified': datetime.datetime(2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b204e9800998ecf8427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_s3:ovh_staging-user1', 'ID': 'ovh_staging_s3:ovh_staging-user1'}}
Expecting access key in the test, and also botot3 response schema returns account-id for the ID. |
|
2024-05-14 16:06:34 |
Kottur |
summary |
s3 list objects returns account:user instead of account-id |
s3 list objects returns account:user instead of owner canonical user id |
|