]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix zone update API forcing STANDARD storage class
authorAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 18 Sep 2025 10:59:52 +0000 (16:29 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Mon, 22 Sep 2025 12:16:59 +0000 (17:46 +0530)
commit634af2d0830b69334ae0396e0e5b8541c5c965e5
tree72109c8d702e14d07296b46bd1445e597e87df4a
parentdc393c971109354830c70f6fe1ba7d0a75423113
mgr/dashboard: fix zone update API forcing STANDARD storage class

The zone update REST API (`edit_zone`) always attempted to configure a
placement target for the `STANDARD` storage class, even when the request
was intended for a different storage class name.
This caused failures in deployments where `STANDARD` is not defined.

Changes:
Club add placement target and add storage class methods into one single
add_placement_targets_storage_class_zone method which takes the storage
class as a param as well alongside the rest of the placement params.

Fixes: https://tracker.ceph.com/issues/73105
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 135f3adb4973be493925839e946e7a5fc75e7d5c)
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.ts
src/pybind/mgr/dashboard/services/rgw_client.py