Why GetBucketVersioning API returns success for non-existing rgw bucket in RHCS ?

Solution Verified - Updated -

Issue

  • The s3 get_bucket_versioning returns HTTP status code 200 for non-existing bucket instead of 404 status code.
  • Does RGW creates pseudo bucket with the name provided in GetBucketVersioning API if bucket does not exists ?

Environment

  • Red Hat Enterprise Linux 7.x
  • Red Hat Ceph Storage 3.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content