StorageGRID S3 500 error on a GET request when a node is down
Applies to
NetApp StorageGRID pre 11.7
Issue
When trying to retrieve an object that does not already exist (non-existent object) the grid responds with HTTP error 500 instead of 404:
- Request when all nodes are available:
aws s3api get-object --bucket delete --key dir/my_images.tar.bz2 test.txt --endpoint https://StoragegridIP:10443
https://StoragegridIP:10443 "GET /delete/dir/my_images.tar.bz2 HTTP/1.1" 404
- Request when one node is down
aws s3api get-object --bucket delete --key dir/my_images.tar.bz2 test.txt --endpoint https://StoragegridIP:10443
https://StoragegridIP:10443
"GET /delete/dir/my_images.tar.bz2 HTTP/1.1" 500