Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "Not implemented" error codes in functional test #834

Closed
kannappanr opened this issue Sep 30, 2017 · 0 comments
Closed

Handle "Not implemented" error codes in functional test #834

kannappanr opened this issue Sep 30, 2017 · 0 comments
Assignees
Milestone

Comments

@kannappanr
Copy link
Collaborator

kannappanr commented Sep 30, 2017

In s3 gateway mode, some calls return "not implemented".
We should handle the situation gracefully, and not fail basically.

status: "NA"
alert: "Not Implemented"

Here is an example error.
Please look at the error part of the entry


{"alert":"","args":{"destination":{},"sources":[{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"],"X-Amz-Copy-Source-Range":["bytes=0-5242879"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}},{"Headers":{"X-Amz-Copy-Source":["minio-go-testpqymyww039cgzqvvy/srcObject"],"X-Amz-Copy-Source-If-Match":["2b5c91ad399409ec9b409b66f5bb00fb"]}}]},"duration":5218,"error":"Error in upload-part-copy - A header you provided implies functionality that is not implemented","function":"ComposeObject(destination, sources)","message":"ComposeObject failed","name":"minio-go","status":"fail"}

@kannappanr kannappanr changed the title Handle Not implemented return codes in functional test Handle "Not implemented" return codes in functional test Oct 2, 2017
@ebozduman ebozduman added this to the Current milestone Oct 2, 2017
@kannappanr kannappanr changed the title Handle "Not implemented" return codes in functional test Handle "Not implemented" error codes in functional test Oct 2, 2017
@ebozduman ebozduman assigned ebozduman and unassigned kannappanr Oct 2, 2017
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 3, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 3, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 3, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
@ebozduman ebozduman removed their assignment Oct 3, 2017
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 6, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 6, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 6, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
kannappanr added a commit to kannappanr/minio-go that referenced this issue Oct 7, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes minio#834
deekoder pushed a commit that referenced this issue Oct 7, 2017
Check for the error message "Not Implemented" in ComposeObject
API call. If it is seen, log NA for the test and log the error, but continue
with the test.

Fixes #834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants