Skip to main content
NetApp Knowledge Base

Setting object versioning on a S3 bucket fails by HTTP 500

Views:
405
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

  • StorageGRID
  • S3
  • One or more storage nodes are unavailable

Issue

  • Setting object versioning on a S3 bucket fails by HTTP 500 Internal Server error.
  • bycast.log shows Cassandra UnavailableExceptin with "Cannot achieve consistency level ALL" by PUT request for versioning.

Example:

NOTICE   1154 S3RQ: EVENT_PROCESS_CREATE - connection=1615515505231245 method=PUT namespace=<> path=</> name=</<S3 BUCKET>?versioning> auth=<V4> clientIP=<IP>
ERROR    0236 S3RQ:  Cassandra UnavailableException (Failed to execute cql: UPDATE storagegrid.buckets SET versioning = 1 WHERE bucket = '<S3 BUCKET>' - Cassandra Driver Error(Unavailable):'Cannot achieve consistency level ALL')
NOTICE   0137 S3RQ: S3 error response: RequestId=1615515505231245, Resource=/<S3 BUCKET>?versioning, HTTP Status Code=500, X-Forwarded-For: '<IP>', ErrorMsg=InternalError, ErrorType=Client, CustomErrorMessage={<none>}, Details={Failed to execute cql: UPDATE storagegrid.buckets SET versioning = 1 WHERE bucket = '<S3 BUCKET>' - Cassandra Driver Error(Unavailable):'Cannot achieve consistency level ALL'}

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.