Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26687

Better diagnostic logs when S3 copy fails

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF02, 11.1
    • Component/s: S3
    • Release Notes Summary:
      Better diagnostic logs when S3 copy fails are added.
    • Sprint:
      nxFG 11.1.1
    • Story Points:
      1

      Description

      When direct S3-to-S3 copy fails, we get an error message without details. It should be improved.

      direct S3 copy not supported, please check your keys and policies 
      com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: EAAD1234E67FAA1A; S3 Extended Request ID: 6H5OALXabcdefwyRVaI60T+o5uhX1xs+Z7g44dT6a7/J8P2j9Q5abcdefy1HHYVaj2ydkVexWNA=)
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1695) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1350) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1101) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:758) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:732) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:714) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:674) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:656) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:520) ~[aws-java-sdk-core-1.11.475.jar:?]
      	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4705) ~[aws-java-sdk-s3-1.11.475.jar:?]
      	at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4652) ~[aws-java-sdk-s3-1.11.475.jar:?]
      	at com.amazonaws.services.s3.AmazonS3Client.copyObject(AmazonS3Client.java:1944) ~[aws-java-sdk-s3-1.11.475.jar:?]
      	at org.nuxeo.ecm.core.storage.sql.S3Utils.copyFile(S3Utils.java:159) ~[nuxeo-core-binarymanager-s3-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.storage.sql.S3BinaryManager.copyBlob(S3BinaryManager.java:524) [nuxeo-core-binarymanager-s3-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.storage.sql.S3BinaryManager.writeBlob(S3BinaryManager.java:467) [nuxeo-core-binarymanager-s3-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.writeBlob(DocumentBlobManagerComponent.java:182) [nuxeo-core-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.setValueBlob(BaseDocument.java:662) [nuxeo-core-storage-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument$BlobWriteContext.flush(BaseDocument.java:774) [nuxeo-core-storage-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:235) [nuxeo-core-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:365) [nuxeo-core-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:710) [nuxeo-core-10.10-I20190120_2305.jar:?]
      	at org.nuxeo.ecm.restapi.server.jaxrs.JSONDocumentObject.doPost(JSONDocumentObject.java:103) [nuxeo-rest-api-server-10.10-I20190120_2305.jar:?]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.