add_image fails with "Bad header: x-image-meta-deleted-at" message

Bug #1220067 reported by Doron Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Doron Chen

Bug Description

When I run the add_image method, I get the following:

Traceback (most recent call last):
.
.
.

    headers, body = slave_client.add_image(image, image_response)
  File "/opt/stack/glance/glance/cmd/replicator.py", line 234, in add_image
    response = self._http_request('POST', url, headers, image_data)
  File "/opt/stack/glance/glance/cmd/replicator.py", line 121, in _http_request
    raise ServerErrorException(response.read())
glance.cmd.replicator.ServerErrorException: 400 Bad Request

The server could not comply with the request since it is either malformed or otherwise incorrect.

 Bad header: x-image-meta-deleted-at

Doron Chen (cdoron)
Changed in glance:
assignee: nobody → Doron Chen (cdoron)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/44812
Committed: http://github.com/openstack/glance/commit/57f312c566ad83884b3a9ed720b470204c01dbae
Submitter: Jenkins
Branch: master

commit 57f312c566ad83884b3a9ed720b470204c01dbae
Author: Doron Chen <email address hidden>
Date: Tue Sep 3 11:43:40 2013 +0300

    Fix typo in IMAGE_META_HEADERS

    x-image-meta-deleted-at replaced with x-image-meta-deleted_at
    This prevents a problem when running the add_image method.

    The bug was entered as part of the following commit:
    c3e58bd943ccb4e1457914c3c2b5366bd0afee5a

    Closes-Bug:#1220067
    Change-Id: I6d1624a00e89721f5c9af969e191951fdcb2ee43

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-rc1 → 2013.2
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.