Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1491739 - Swift post via RGW ends up with random 500 errors
Swift post via RGW ends up with random 500 errors
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
2.3
x86_64 Linux
high Severity high
: rc
: 2.5
Assigned To: Adam C. Emerson
Tejas
Aron Gunn
:
Depends On: 1530801
Blocks: 1491723 1536401
  Show dependency treegraph
 
Reported: 2017-09-14 10:24 EDT by Mike Hackett
Modified: 2018-02-21 14:43 EST (History)
15 users (show)

See Also:
Fixed In Version: RHEL: ceph-10.2.10-9.el7cp Ubuntu: ceph_10.2.10-6redhat1xenial
Doc Type: Bug Fix
Doc Text:
.Swift POST operations no longer generate random 500 errors Previously, when making changes to the same bucket through multiple Ceph Object Gateways, under certain circumstances under heavy load, the Ceph Object Gateway returned a 500 error. With this release, the chances are reduced to cause a race condition.
Story Points: ---
Clone Of:
: 1530801 (view as bug list)
Environment:
Last Closed: 2018-02-21 14:43:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
PUT success (47.73 KB, text/plain)
2017-09-14 10:25 EDT, Mike Hackett
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 22517 None None None 2017-12-20 16:48 EST
Github ceph/ceph/pull/18954 None None None 2017-12-20 16:50 EST
Github ceph/ceph/pull/19581 None None None 2017-12-20 16:51 EST
Github ceph/ceph/pull/19601 None None None 2017-12-21 16:19 EST
Red Hat Product Errata RHBA-2018:0340 normal SHIPPED_LIVE Red Hat Ceph Storage 2.5 bug fix and enhancement update 2018-02-21 19:50:32 EST

  None (edit)
Comment 2 Mike Hackett 2017-09-14 10:25 EDT
Created attachment 1326062 [details]
PUT success
Comment 11 Adam C. Emerson 2017-11-10 14:25:14 EST
I have a potential fix in the works. Just making sure I don't destroy caching or do other potential things. Should have a PR up sometime early next week I think.

I haven't been able to successfully reproduce the bug but from looking at the logs/code and talking to people I think we just have a place where we aren't refreshing the cache. Being careful since I'm unfamiliar here.
Comment 15 Ken Dreyer (Red Hat) 2018-01-03 14:43:52 EST
This bug is targeted for RHCEPH 2.5 and this fix is not in RHCEPH 3.

Would you please cherry-pick the change to ceph-3.0-rhel-patches (with the RHCEPH 3 clone ID number, "Resolves: rhbz#1530801") so customers do not experience a regression?
Comment 21 Adam C. Emerson 2018-01-08 10:10:37 EST
In accordance with our current theory the setup is:

A cluster with at least three RGWs
Under heavy enough load that we get occaisonal failed to transmit cache errors

And to reproduce:

Make metadata changes to the same buckets through multiple RGWs (such as the POST mentioned in the original filing)
The behavior to look for is a 500 error that /persists/ until one of the RGWs is restarted
The log should mention receiving -ECANCELED

If the fix works:

You should not get the 500 error.
(It's still in principle possible if you end up with enough races that it exceeds the retry count, but even in that case, the failure shouldn't be /durable/)
Comment 22 Harish NV Rao 2018-01-08 10:14:46 EST
Thanks Adam!
Comment 26 Adam C. Emerson 2018-02-05 13:14:37 EST
I clicked on verified and selected 'Any' but it still shows the warning about the doc text not being verified?
Comment 28 Adam C. Emerson 2018-02-05 15:05:37 EST
Oh. Well.

Ack!
Comment 31 errata-xmlrpc 2018-02-21 14:43:32 EST
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-2018:0340

Note You need to log in before you can comment on or make changes to this bug.