]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: tenanted bucket lifecycle management fix
authorNaman Munet <naman.munet@ibm.com>
Thu, 20 Mar 2025 15:07:02 +0000 (20:37 +0530)
committerNaman Munet <naman.munet@ibm.com>
Mon, 24 Mar 2025 08:24:57 +0000 (13:54 +0530)
commit107abda71d5127b4170a8a1aac0bb84d9043c73f
treecefd0d56e0c3ba6e7c5e6f3e41ffb39accd56e45
parenta5d21eee9f19f12cab34a2eccaecf0b178438fb6
mgr/dashboard: tenanted bucket lifecycle management fix

Fixes: https://tracker.ceph.com/issues/70588
Signed-off-by: Naman Munet <naman.munet@ibm.com>
Before: As the tenant was not passed in lifecycle calls made through bucket details > tiering tab, & also account_id was not resolved to the user of the bucket, hence not able to manage the Tiering configuration lifecycle changes
After: Account_id is resolved to user_id and tenant is additionally passed to the lifecycle API so as to handle the tenanted bucket scenario
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-lifecycle-list/rgw-bucket-lifecycle-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-tiering-form/rgw-bucket-tiering-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-tiering-form/rgw-bucket-tiering-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts
src/pybind/mgr/dashboard/openapi.yaml