]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix zone creation in rgw service creation form 69412/head
authorAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Thu, 11 Jun 2026 09:19:04 +0000 (14:49 +0530)
committerAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Thu, 11 Jun 2026 09:19:04 +0000 (14:49 +0530)
The zone creation request from the rgw service creation form was missing
the tier_type, sync_from and sync_from_all properties as a result the
zone creation was failing. This PR tends to fix this issue.

Fixes: https://tracker.ceph.com/issues/77263
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/create-rgw-service-entities/create-rgw-service-entities.component.ts

index 03206a6ddc34b5a36e9960b6de1a402d08bdf9d7..e849c1bdbe6606c9e4eda1ac547b9f3f8cc58afe 100644 (file)
@@ -75,6 +75,9 @@ export class CreateRgwServiceEntitiesComponent extends CdForm implements OnInit
     this.zone.system_key = new SystemKey();
     this.zone.system_key.access_key = '';
     this.zone.system_key.secret_key = '';
+    this.zone.tier_type = '';
+    this.zone.sync_from = '';
+    this.zone.sync_from_all = true;
     this.rgwRealmService
       .create(this.realm, true)
       .toPromise()