noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

List buckets returns CreationDate as current date instead of actual bucket create time

Open guymguym opened this issue 1 year ago • 7 comments

Environment info

  • NooBaa Version: 5.14
  • Platform: NA

Actual behavior

  1. We always use now for the list buckets reply -

https://github.com/noobaa/noobaa-core/blob/b04f5ab2f17b72ded93b17e8b9f431c66a8c5308/src/endpoint/s3/ops/s3_get_service.js#L11-L18

Expected behavior

  1. Should return the specific creation date of each bucket.

Steps to reproduce

  1. NA

More information - Screenshots / Logs / Other output

guymguym avatar Feb 06 '24 06:02 guymguym

@nimrod-becker @romayalon can this fix be added to a 5.14 release? At least for nsfs.

guymguym avatar Feb 06 '24 07:02 guymguym

We need to fix for master to begin with, then we can see when we can backport

nimrod-becker avatar Feb 06 '24 07:02 nimrod-becker

I'm re-opening it, I fixed it only for NC NSFS (BucketspaceFS) we need to fix it on other bucketspaces as well

romayalon avatar Feb 07 '24 09:02 romayalon

We'll probably want to backport this one

nimrod-becker avatar Feb 07 '24 15:02 nimrod-becker

@nimrod-becker Backport PR to 5.15 - https://github.com/noobaa/noobaa-core/pull/7805

romayalon avatar Feb 08 '24 10:02 romayalon

@nimrod-becker is this going to be backported and closed?

guymguym avatar Feb 15 '24 07:02 guymguym

@guymguym it was backported on https://github.com/noobaa/noobaa-core/pull/7824

romayalon avatar Feb 18 '24 10:02 romayalon