Creating buckets in RHCS Rados Object Gateway on Erasure Coded pools fails with an HTTP 500 error.

Solution Verified - Updated

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.buckets pool as Erasure Coded while other RGW pools are kept as Replicated.

  • .rgw.buckets is the only data pool in RGW that is supported in Erasure Coded format.

  • This is due to the fact that the remaining RGW pools need omap support for proper functioning and EC pools do not support omap operations.

  • 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 omap operations, which are needed for almost all the pools used in RGW.

Diagnostic Steps

  • radosgw.log logs 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=95 translates to Operation not supported on transport endpoint.
SBR
Category
Tags

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.