Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1240

MultiPart Upload Swift

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.0
    • None
    • jclouds-blobstore
    • RHEL 7.2
      Swift Version 2.10.0-2

    Description

      Content length of the manifest file for multipart upload in swift doesnot have size of entire blob instead it has the content length of the manifest file.As per the javadoc [1] Content-Length of the manifest must be size of the blob.

      [1] https://github.com/jclouds/jclouds/blob/master/apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/binders/BindManifestToJsonPayload.java

      As per my observation content length of the manifest has is not content length of the blob.

      [root@jupiter-vm564 ~]# swift list arctestAPI
      arc
      arc/slo/1487235018.498000/10485839/0/00000001
      arc/slo/1487235018.498000/10485839/0/00000002
      
      
      [root@jupiter-vm564 ~]# swift stat arctestAPI arc
            Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
            Container: arctestAPI
            Object: arc
            Content Type: application/unknown
            Content Length: 264
            Last Modified: Thu, 16 Feb 2017 08:58:43 GMT
            ETag: fcd3ba56d354c8819d186eed4eee115d
            Content-Disposition: arc
            Accept-Ranges: bytes
            Connection: keep-alive
            X-Timestamp: 1487235522.85407
            X-Trans-Id: tx1ca4d8c67a4f4cfa996b4-0058a569e3
      
      [root@jupiter-vm564 ~]# swift stat arctestAPI arc/slo/1487235018.498000/10485839/0/00000001
             Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
             Container: arctestAPI
             Object: arc/slo/1487235018.498000/10485839/0/00000001
             Content Type: application/unknown
             Content Length: 33554432
             Last Modified: Thu, 16 Feb 2017 08:58:29 GMT
             ETag: 58f06dd588d8ffb3beb46ada6309436b
             Content-Disposition: arc
             Accept-Ranges: bytes
             Connection: keep-alive
             X-Timestamp: 1487235508.56703
             X-Trans-Id: txdaeb6b9e4e5a4ae0a1ec8-0058a56a41
      
      [root@jupiter-vm564 ~]# swift stat arctestAPI arc/slo/1487235018.498000/10485839/0/00000002
            Account: AUTH_f9d7c1cf6500469b80f0906f5f9b1791
            Container: arctestAPI
            Object: arc/slo/1487235018.498000/10485839/0/00000002
            Content Type: application/unknown
            Content Length: 3145728
             Last Modified: Thu, 16 Feb 2017 08:58:42 GMT
             ETag: d1dd210d6b1312cb342b56d02bd5e651
            Content-Disposition: arc
            Accept-Ranges: bytes
            Connection: keep-alive
            X-Timestamp: 1487235521.06353
            X-Trans-Id: txacf9546117e345d48921f-0058a56a48
      

      Attachments

        1. SwiftMPU
          2 kB
          Archana Chinnaiah

        Activity

          People

            gaul Andrew Gaul
            archupsg03 Archana Chinnaiah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: