huaweicloud / huaweicloud-sdk-nodejs-obs

Apache License 2.0
27 stars 10 forks source link

New buckets are not being retrieved by listBuckets method #6

Closed vatlas closed 3 years ago

vatlas commented 3 years ago

After creating a new OBS bucket using the Huawei Cloud Console, the SDK call does not return the new bucket. The same behaviour happens if you create a new bucket using the SDK. The new bucket appears in the console, but it is not being retrieved by the API response. You can successfully call the headBucket endpoint to ensure that the bucket exists, even though it is not being retrieved by the listBuckets method.

The new buckets are taking approximately 24 hours to be listed. This behaviour was found in the versions 3.1.4 and 3.20.11 of this SDK.

vatlas commented 3 years ago

It seems like the issue was not directly related to the Node Js SDK, so it will be closed for now.