https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-07-18T09:31:24ZCeph rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=952472017-07-18T09:31:24ZPavan Rallabhandi
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul><p><a class="external" href="https://github.com/ceph/ceph/pull/16389">https://github.com/ceph/ceph/pull/16389</a></p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957352017-07-24T12:03:21ZOrit Wassermanowasserm@redhat.com
<ul></ul><p>Dcan you reproduce it on newer ceph versions?</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957382017-07-24T13:42:50ZPavan Rallabhandi
<ul></ul><p>Yes it is reproducible on master as well, sorry if the affected versions field has misled you.</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957442017-07-24T14:20:51ZOrit Wassermanowasserm@redhat.com
<ul></ul><p>Can you provide rgw logs? (debug_rgw = 20)<br />From the code it should have return false on can_use_cache_stats and fetch the stats from the storage. Those are not supposed to be negative</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957482017-07-24T15:18:31ZOrit Wassermanowasserm@redhat.com
<ul></ul><p>OK we fetch the storage stats only for the bucket stats not the user stats.<br />The failure is for the user stats, making sure they do not over flowing will fix this.</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957882017-07-25T11:50:40ZOrit Wassermanowasserm@redhat.com
<ul><li><strong>Backport</strong> set to <i>jewel, kraken</i></li></ul> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=957892017-07-25T11:51:13ZOrit Wassermanowasserm@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>17</i></li></ul> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=959272017-07-27T14:28:08ZYuri Weinsteinyweinste@redhat.com
<ul></ul><p>Pavan Rallabhandi wrote:</p>
<blockquote>
<p><a class="external" href="https://github.com/ceph/ceph/pull/16389">https://github.com/ceph/ceph/pull/16389</a></p>
</blockquote>
<p>merged</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=959382017-07-27T15:33:57ZOrit Wassermanowasserm@redhat.com
<ul><li><strong>Status</strong> changed from <i>17</i> to <i>Pending Backport</i></li></ul> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=960412017-07-28T06:16:26ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/20821">Backport #20821</a>: jewel: With RGWs configured in a load balancer, quota stats cache doesn't work</i> added</li></ul> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=960432017-07-28T06:16:27ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-6 priority-4 priority-default closed" href="/issues/20822">Backport #20822</a>: kraken: With RGWs configured in a load balancer, quota stats cache doesn't work</i> added</li></ul> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=971872017-08-21T13:07:01ZAleksei Gutikovaleksey.gutikov@synesis.ru
<ul></ul><p>Fix does not fix anything actually.<br />size, size_rounded, num_objects are uint64_t so they are always >= 0</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=972462017-08-21T18:13:48ZPavan Rallabhandi
<ul></ul><p>Aleksei Gutikov wrote:</p>
<blockquote>
<p>Fix does not fix anything actually.<br />size, size_rounded, num_objects are uint64_t so they are always >= 0</p>
</blockquote>
<p>Yes, the original logic seems to have got lost as part of making the code readable during the review. My bad that I didn't verify the logic post review, thanks!</p> rgw - Bug #20661: With RGWs configured in a load balancer, quota stats cache doesn't workhttps://tracker.ceph.com/issues/20661?journal_id=984682017-09-07T07:28:28ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>