Skip to main content
NetApp Knowledge Base

StorageGRID returns HTTP 503 to S3 PUT request after Cassandra TimeoutException

Views:
271
Visibility:
Public
Votes:
1
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

  • StorageGRID
  • Larger than normal API requests are processed

Issue

  • S3 PUT request fails by HTTP 503
  • bycast.log shows HTTP 503 is returned after Cassandra TimeoutException

OBDI ^RDY 2023-03-31T07:40:42.290936| WARNING  0236 7521f267ce24b9c OBDI: checkForPreExistingObject Cassandra TimeoutException (Failed to execute cql at consistency TWO: SELECT event_time, event, last_access_time, object_lock_mode, object_lock_retain_until_time, object_lock_legal_hold, user_metadata, writetime(user_metadata), content_type, writetime(content_type), restore_start_time, restore_expiry_time, retier_time, object_partially_tiered FROM storagegrid.object_by_uuid WHERE uuid = <UUID> - Cassandra Driver Error(Read timeout):'Operation timed out - received only 2 responses.' Detailed Info:[consistency: ALL, responses_received: 2, responses_required: 3, data_present: 1])
OBDI ^RDY 2023-03-31T07:40:42.290959| WARNING  1271 7521f267ce24b9c OBDI: Failed to lookup object 'Failed to execute cql at consistency TWO: SELECT event_time, event, last_access_time, object_lock_mode, object_lock_retain_until_time, object_lock_legal_hold, user_metadata, writetime(user_metadata), content_type, writetime(content_type), restore_start_time, restore_expiry_time, retier_time, object_partially_tiered FROM storagegrid.object_by_uuid WHERE uuid = <UUID> - Cassandra Driver Error(Read timeout):'Operation timed out - received only 2 responses.' Detailed Info:[consistency: ALL, responses_received: 2, responses_required: 3, data_present: 1]'
S3RQ %DED 2023-03-31T07:40:44.087205| NOTICE   0089 7521f267ce24b9c S3RQ: S3 error response: RequestId=1680248429898354, TraceId=7521f267ce24b9c, Resource=<PATH>, HTTP Method=PUT, HTTP Status Code=503, X-Forwarded-For: '<IP>', ErrorMsg=ServiceUnavailable, ErrorType=Client, CustomErrorMessage={<none>}, Details={<none>}

  • Cassandra system.log indicates ReadTimeoutException many times

 INFO [ReadStage-52] 2023-03-31 07:40:07,218 NoSpamLogger.java (line 94) Maximum memory usage reached (33554432), cannot allocate chunk of 1048576
ERROR [ReadRepairStage:3806] 2023-03-31 07:40:42,020 CassandraDaemon.java (line 231) Exception in thread Thread[ReadRepairStage:3806,5,main]
org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received only 1 responses.

 

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.