Bug 1349484
| Summary: | radosgw-admin region-map set is not setting the bucket quota | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vikhyat Umrao <vumrao> |
| Component: | RGW | Assignee: | Yehuda Sadeh <yehuda> |
| Status: | CLOSED ERRATA | QA Contact: | Tejas <tchandra> |
| Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
| Priority: | medium | ||
| Version: | 1.3.2 | CC: | cbodley, ceph-eng-bugs, dang, flucifre, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil, tserlin, yehuda |
| Target Milestone: | rc | ||
| Target Release: | 1.3.3 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-0.94.7-5.el7cp Ubuntu: ceph_0.94.7-3redhat1trusty | Doc Type: | Bug Fix |
| Doc Text: |
."radosgw-admin region-map set" output includes the bucket quota
Previously, the output of the `radosgw-admin region-map set` command did not include the bucket quota, which led to confusion if the quota was properly set. With this update, the `radosgw-admin region-map set` output includes the bucket quota as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-29 13:00:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1348597, 1372735 | ||
I spent 15 minutes looking for the PR that fixed this in master/jewel, but I can't find it. The history for multisite is quite complicated. The actual commits that fixed this are: e18b72f7e97a65af681e368d3706a465603df89d 9dfbae6d65bf6f8ab7cdf8597d556505b81cedd9 The issue is cosmetic: the code that prints out the bucket quota is missing; the quota itself is set correctly. (In reply to Daniel Gryniewicz from comment #1) > I spent 15 minutes looking for the PR that fixed this in master/jewel, but I > can't find it. The history for multisite is quite complicated. The actual > commits that fixed this are: > > e18b72f7e97a65af681e368d3706a465603df89d > 9dfbae6d65bf6f8ab7cdf8597d556505b81cedd9 > > The issue is cosmetic: the code that prints out the bucket quota is missing; > the quota itself is set correctly. Thanks you Daniel for your help in this issue. Daniel, would you please open Redmine ticket(s) at tracker.ceph.com to have these backported to Jewel and Hammer? Since this is just a logging/output issue (the quota is set correctly), this may be pushed to 1.3.4 if there is no time for 1.3.3 — The region map is displayed correctly in the verion: ceph version 0.94.8-1.el7cp Moving to Verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1972.html |
Description of problem: radosgw-admin region-map set is not setting the bucket quota Version-Release number of selected component (if applicable): Red Hat Ceph Storage 1.3.2 ceph-radosgw-0.94.5-12.el7cp.x86_64 --- - Below is my modified region-map : { "regions": [ { "key": "default", "val": { "name": "default", "api_name": "", "is_master": "true", "endpoints": [], "hostnames": [], "master_zone": "", "zones": [ { "name": "default", "endpoints": [], "log_meta": "false", "log_data": "false", "bucket_index_max_shards": 0 } ], "placement_targets": [ { "name": "default-placement", "tags": [] } ], "default_placement": "default-placement" } } ], "master_region": "default", "bucket_quota": { "enabled": true, "max_size_kb": 1000, <------------------------------ "max_objects": 1000 <------------------------------- }, "user_quota": { "enabled": true, "max_size_kb": 1000, "max_objects": 1000 } } # radosgw-admin region-map set < region.conf.json { "regions": [ { "key": "default", "val": { "name": "default", "api_name": "", "is_master": "true", "endpoints": [], "hostnames": [], "master_zone": "", "zones": [ { "name": "default", "endpoints": [], "log_meta": "false", "log_data": "false", "bucket_index_max_shards": 0 } ], "placement_targets": [ { "name": "default-placement", "tags": [] } ], "default_placement": "default-placement" } } ], "master_region": "default", "bucket_quota": { "enabled": false, "max_size_kb": -1, <--------------------------- "max_objects": -1 <---------------------------- }, "user_quota": { "enabled": true, "max_size_kb": 1000, "max_objects": 1000 } } -------