]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix zone update API forcing STANDARD storage class 65579/head
authorAashish Sharma <Aashish.Sharma1@ibm.com>
Thu, 18 Sep 2025 10:59:52 +0000 (16:29 +0530)
committerAashish Sharma <Aashish.Sharma1@ibm.com>
Fri, 19 Sep 2025 04:53:59 +0000 (10:23 +0530)
commit135f3adb4973be493925839e946e7a5fc75e7d5c
treefba30db0ab2543445cc00f3ab70afa87ba7be73d
parent8afc88cf41fe04c0084daa8e27da51bdcfb9fc2c
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>
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