And with swift:

ubuntu@james-page-bastion:~/tools/openstack-charm-testing/trunk⟫ swift upload 
-S 10000000 kerneltest /boot/initrd.img-4.4.0-96-generic 
boot/initrd.img-4.4.0-96-generic segment 1
boot/initrd.img-4.4.0-96-generic segment 0
boot/initrd.img-4.4.0-96-generic
ubuntu@james-page-bastion:~/tools/openstack-charm-testing/trunk⟫ swift stat 
kerneltest boot/initrd.img-4.4.0-96-generic
               Account: AUTH_9736b8ef9ac84824ab6e248455665cbf
             Container: kerneltest
                Object: boot/initrd.img-4.4.0-96-generic
          Content Type: application/octet-stream
        Content Length: 15604860
         Last Modified: Mon, 30 Oct 2017 11:49:24 GMT
                  ETag: "47ecced69b46738eeda009e28c53ce94"
              Manifest: 
kerneltest_segments/boot/initrd.img-4.4.0-96-generic/1505843367.051525/15604860/10000000/
            Meta Mtime: 1505843367.051525
         Accept-Ranges: bytes
           X-Timestamp: 1509364163.49140
            X-Trans-Id: tx07d94f0c87e84717a404c-0059f711c8
X-Openstack-Request-Id: tx07d94f0c87e84717a404c-0059f711c8
ubuntu@james-page-bastion:~/tools/openstack-charm-testing/trunk⟫ swift post -m 
"x-object-meta-test1:test1"  kerneltest boot/initrd.img-4.4.0-96-generic
ubuntu@james-page-bastion:~/tools/openstack-charm-testing/trunk⟫ swift stat 
kerneltest boot/initrd.img-4.4.0-96-generic
                 Account: AUTH_9736b8ef9ac84824ab6e248455665cbf
               Container: kerneltest
                  Object: boot/initrd.img-4.4.0-96-generic
            Content Type: application/octet-stream
          Content Length: 0
           Last Modified: Mon, 30 Oct 2017 11:49:35 GMT
                    ETag: d41d8cd98f00b204e9800998ecf8427e
Meta X-Object-Meta-Test1: test1
           Accept-Ranges: bytes
             X-Timestamp: 1509364174.89169
              X-Trans-Id: tx006f1ae51d9142be9e46f-0059f711d4
  X-Openstack-Request-Id: tx006f1ae51d9142be9e46f-0059f711d4

As per original bug report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1388880

Title:
  metadata update should not delete large file manifest

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-swiftclient/+bug/1388880/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to