Open ghost opened 2 years ago
@apcurrier Please provide any details you think are pertinent or corrections if I incorrectly stated anything.
@patrickdos Do you confirm? Or am I missing how report_sproxyd.py
would work around this "if" a timeout happens for a bucket that is not empty?
The report_sproxyd.py when listbuckets() is run has a 30 second timeout. When this timeout occurs and bucketd does not respond the listbucket() operation does not handle this, and breaks out of the while loop because there is no error response of 500 or 404. This appears to them move onto the next bucket and have no handling to ensure each bucket gets listed properly.
Error:
The block for line 176 is:
The block for line 94 is:
The issue can be observed by comparing the content of the keys.txt output file and the total number of buckets in s3api:
The quantity of buckets from s3api shows 83 buckets. The quantity of buckets from report-sproxyd-keys:basic only contains 56 buckets.
listbucket()
.