DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-175

Executing "HEAD /api/buckets/:bucket_id/:blob_id - returns 200 OK but no user meta_data

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Description

      Using deltalcoud-core-0.5.0-8:

      (>> rpm -qa |grep deltacloud
      deltacloud-core-ec2-0.5.0-8.el6.noarch
      deltacloud-core-vsphere-0.5.0-8.el6.noarch
      rubygem-deltacloud-client-0.5.0-2.el6.noarch
      deltacloud-core-0.5.0-8.el6.noarch
      deltacloud-core-rhevm-0.5.0-8.el6.noarch)

      curl -i -X HEAD --user "username:password" "http://ibm-x3200m3-01.rhts.eng.bos.redhat.com:3005/api/buckets/bucket-rlandy2/03222012blob6?format=xml"

      HTTP/1.1 204 No Content
      X-Runtime: 0.562315
      Server: Apache-Deltacloud/0.5.0
      X-Deltacloud-Blobmeta-version: 2.4
      X-Deltacloud-Blobmeta-name: myblob
      X-Deltacloud-Blobmeta-author: rlandy
      Date: Fri, 23 Mar 2012 20:06:18 GMT
      Connection: close

      Using deltacloud git commit version 7e372dfca79c02a799046287e5936129216b781b, no user meta_data is returned:

      curl -i -X HEAD --user "username:password" "http://localhost:3009/api/buckets/bucket-rlandy2/03222012blob6?format=xml"HTTP/1.1 200 OK
      X-Runtime: 0.427717
      X-Frame-Options: sameorigin
      Date: Fri, 23 Mar 2012 20:07:45 GMT
      Content-Length: 457
      X-XSS-Protection: 1; mode=block
      Content-Type: application/xml
      Server: Apache-Deltacloud/0.5.0
      Connection: keep-alive

      curl: (18) transfer closed with 457 bytes remaining to read

      Log output copied below:

      == Info: About to connect() to localhost port 3009 (#0)
      == Info: Trying 127.0.0.1... == Info: connected
      == Info: Connected to localhost (127.0.0.1) port 3009 (#0)
      == Info: Server auth using Basic with user '...'
      => Send header, 328 bytes (0x148)
      0000: HEAD /api/buckets/bucket-rlandy2/03222012blob6?format=xml HTTP/1
      0040: .1
      0044: Authorization: Basic ...
      0084: ...==
      00af: User-Agent: curl/7.21.7 (x86_64-redhat-linux-gnu) libcurl/7.21.7
      00ef: NSS/3.13.1.0 zlib/1.2.5 libidn/1.22 libssh2/1.2.7
      0123: Host: localhost:3009
      0139: Accept: /
      0146:
      <= Recv header, 17 bytes (0x11)
      0000: HTTP/1.1 200 OK
      <= Recv header, 21 bytes (0x15)
      0000: X-Runtime: 0.393294
      <= Recv header, 29 bytes (0x1d)
      0000: X-Frame-Options: sameorigin
      <= Recv header, 37 bytes (0x25)
      0000: Date: Fri, 23 Mar 2012 20:10:27 GMT
      <= Recv header, 21 bytes (0x15)
      0000: Content-Length: 457
      <= Recv header, 33 bytes (0x21)
      0000: X-XSS-Protection: 1; mode=block
      <= Recv header, 31 bytes (0x1f)
      0000: Content-Type: application/xml
      <= Recv header, 33 bytes (0x21)
      0000: Server: Apache-Deltacloud/0.5.0
      <= Recv header, 24 bytes (0x18)
      0000: Connection: keep-alive
      <= Recv header, 2 bytes (0x2)
      0000:
      <= Recv data, 0 bytes (0x0)
      == Info: transfer closed with 457 bytes remaining to read
      == Info: Closing connection #0

        Activity

        Ronelle Landy created issue -

          People

          • Assignee:
            Marios Andreou
            Reporter:
            Ronelle Landy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development