deleting a message after claiming it fails

Bug #1325032 reported by Sriram on 2014-05-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Zaqar
Critical
Sriram
Juno
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) on 2014-05-30
summary: - deleting a message after claiming fails
+ deleting a message after claiming it fails
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.

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

Changed in python-marconiclient:
status: Triaged → In Progress

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  Edit
Everyone can see this information.

Other bug subscribers