Container metadata cannot be added or updated

Bug #1342913 reported by Wayne Foley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-sdk-dotnet
Fix Committed
Medium
Wayne Foley

Bug Description

Using the SDK you cannot add or update metadata for StorageContainers.

RCA:
The header that is being sent to the server for adding/updating metadata for containers is "X-Object-Meta". This is the incorrect header for sending container metadata, and is ignored by the server.

Fix:
The header that is sent needs to be "X-Container-Meta".

Changed in openstack-sdk-dotnet:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-sdk-dotnet (master)

Fix proposed to branch: master
Review: https://review.openstack.org/109748

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-sdk-dotnet (master)

Reviewed: https://review.openstack.org/109748
Committed: https://git.openstack.org/cgit/stackforge/openstack-sdk-dotnet/commit/?id=ae3b0fbe19d045fc199a1c54958ac9e9ef7e10d2
Submitter: Jenkins
Branch: master

commit ae3b0fbe19d045fc199a1c54958ac9e9ef7e10d2
Author: Wayne Foley <email address hidden>
Date: Fri Jul 25 14:40:20 2014 -0700

    Fix for Bug#1342913

    Updated the REST client to send the correct "X-Container-Meta" header instead of using "X-Object-Meta".
    Updated related unit tests, and rest simulator to use the right header values.
    Updated the http abstraction unit tests to ensure that httpbin does not cache it's response headers.

    Closes-Bug: #1342913
    Change-Id: I020b21313da1ba77b37bbbe0cffb8c4f320f8ce6

Changed in openstack-sdk-dotnet:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.