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 access key
s3cmd info s3://bucket/object
s3://bucket/object (object): 4e9800998ecf842 7e s3:ovh_ staging- user1: FULL_CONTROL
File size: 0
Last mod: Tue, 14 May 2024 01:48:16 GMT
MIME type: binary/octet-stream
Storage: STANDARD
MD5 sum: d41d8cd98f00b20
SSE: none
Policy: none
CORS: none
ACL: ovh_staging_
Here is the functional test dump
ipdb> break /var/swift/ test/functional /s3api/ test_bucket. py:50 test/functional /s3api/ test_bucket. py:50 test/functional /s3api/ test_bucket. py(50)_ validate_ object_ listing( ) n('Owner' , obj) info['s3api' ].get(' s3_acl' ): l(obj[' Owner'] ['ID'], self.access_key) l(obj[' Owner'] ['DisplayName' ], self.access_key)
Breakpoint 1 at /var/swift/
ipdb> cont
Resuming program, press Ctrl-C to relaunch debugger.
> /var/swift/
48 self.assertNotI
49 elif tf.cluster_
1--> 50 self.assertEqua
51 self.assertEqua
52 else:
ipdb> print(obj) datetime( 2024, 5, 14, 1, 48, 16, tzinfo=tzlocal()), 'ETag': '"d41d8cd98f00b 204e9800998ecf8 427e"', 'Size': 0, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'ovh_staging_ s3:ovh_ staging- user1', 'ID': 'ovh_staging_ s3:ovh_ staging- user1'} }
{'Key': 'object', 'LastModified': datetime.
Expecting access key in the test, and also botot3 response schema returns access key for the ID.