Creating buckets in RHCS Rados Object Gateway on Erasure Coded pools fails with an HTTP 500 error.
Environment
-
Red Hat Ceph Storage 1.3.x
-
Red Hat Ceph Storage 2.x
Issue
- Creating buckets in radosgw with erasure coding pools fails with error
WARNING: set_req_state_err err_no=95 resorting to 500
req 388:0.015874:s3:PUT /MYTEST/:create_bucket:http status=500
Resolution
-
The best approach for using EC pools with RGW is to configure the
.rgw.bucketspool asErasure Codedwhile other RGW pools are kept asReplicated. -
.rgw.bucketsis the only data pool in RGW that is supported inErasure Codedformat. -
This is due to the fact that the remaining RGW pools need
omapsupport for proper functioning and EC pools do not supportomapoperations. -
Read more on this at the RHCS Storage Strategies guide:
This content is not included.RHCS1.3 Erasure Coded pools
This content is not included.RHCS2.x Erasure Coded pools.
Root Cause
- Erasure Coded pools do not support
omapoperations, which are needed for almost all the pools used in RGW.
Diagnostic Steps
radosgw.loglogs an HTTP 500 error
WARNING: set_req_state_err err_no=95 resorting to 500
req 388:0.015874:s3:PUT /MYTEST/:create_bucket:http status=500
err_no=95translates toOperation not supported on transport endpoint.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.