deleting a message after claiming it fails

Bug #1325032 reported by Sriram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
Fix Released
Critical
Sriram
Juno
Fix Released
Critical
Sriram

Bug Description

when deleting a message, the client fails to provide the claim_id along with the message id. This leads to a 403 status from marconi, as the client didn't supply needed credentials to delete a claimed message.

The fix would also need to include a unit test, that proves that the bug was fixed.

Below is the response from marconi when attempting to delete a claimed message.

Attached:
http://paste.openstack.org/show/82204/

Sriram (thesriram)
summary: - deleting a message after claiming fails
+ deleting a message after claiming it fails
Revision history for this message
Kurt Griffiths (kgriffs) wrote :

The problem appears to stem from reconstructing the URI rather than simply using the href returned for that message; the href includes the claim ID, while the reconstructed URI does not.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-marconiclient (master)

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

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

Reviewed: https://review.openstack.org/97246
Committed: https://git.openstack.org/cgit/openstack/python-marconiclient/commit/?id=cd95664f3f482262c8345c2974dab40ea442eaf8
Submitter: Jenkins
Branch: master

commit cd95664f3f482262c8345c2974dab40ea442eaf8
Author: TheSriram <email address hidden>
Date: Mon Jun 2 09:59:12 2014 -0400

    Enable deleting of message with claim id

    This patch fixes a bug wherein a user was not able to delete
    a claimed message due to the claim id not being passed along with
    the message id.

    Change-Id: If893d2ca9cb1e0ff5fe82cc15e3f2e8dd0ccac3f
    Closes-Bug:1325032

Changed in python-marconiclient:
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.