Red Hat Bugzilla – Bug 1498280
RGWs quota stats simple fixes, esp. for multiple rgws.
Last modified: 2017-10-18 04:33:55 EDT
Description of problem: There are various problems with quota stats in ceph 2.4 that were recently fixed in upstream jewel. Two problems are, a. quota underflow - where there are multiple rgws, it is possible to cause num_objects or bytes_used to underflow. This may happen randomly when large numbers of objects are created or deleted behind a load balancer, and it can be caused deterministically when it's possible to talk directly to the separate rgws. b. units double rounding issue. This shouldn't cause any observable abnormalities, so is mainly a code cleanup issue. There is a larger problem with quota consistency - which we won't be able to fix for 2.4. So that is a documentation/support issue for now. Depending on the results of testing, there may be other small fixable problems for 2.4 quota/stats; if so they should be added to this. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
There are 2 more tracker issue/PRs that that I believe should qualify as small fixes. This one is straight-forward: http://tracker.ceph.com/issues/21586 "RGW: Multipart upload may double the quota" https://github.com/ceph/ceph/pull/17959 Looks like this one misses the window for the immediate future, http://tracker.ceph.com/issues/21565 RGW: Multipart upload may failed when object size is large and near byte quota limit https://github.com/ceph/ceph/pull/17960 https://github.com/ceph/ceph/pull/18123 issue for that is that people don't like parsing object names in the cls code...
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://access.redhat.com/errata/RHBA-2017:2903