Get Multiple messages with messageID returns 502

Bug #1165102 reported by Malini Kamalambal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
Unassigned

Bug Description

Steps to repro :

GET with multiple message IDs

Request Header {"Host": "marconi.test.com","User-Agent": "systemtests","Date":"<DATE>","Accept": "application/json","Accept-Encoding": "gzip","X-Auth-Token": "notrealtoken","Client-ID": "b0602a94-b816-11e2-9c71-28cfe91478b9"}

Request URL :
http://0.0.0.0:8888/v1/1/queues/msgtestqueue/messages/518aa96d40a5dc6f210997e4,518aa96d40a5dc6f210997e5,518aa96d40a5dc6f210997e6,518aa96d40a5dc6f210997e7,518aa96d40a5dc6f210997e8,518aa96d40a5dc6f210997e9,518aa96d40a5dc6f210997ea,518aa96d40a5dc6f210997eb,518aa96d40a5dc6f210997ec,518aa96d40a5dc6f210997ed,518aa96d40a5dc6f210997ee,518aa96d40a5dc6f210997ef,518aa96d40a5dc6f210997f0,518aa96d40a5dc6f210997f1,518aa96d40a5dc6f210997f2,518aa96d40a5dc6f210997f3,518aa96d40a5dc6f210997f4,518aa96d40a5dc6f210997f5,518aa96d40a5dc6f210997f6,518aa96d40a5dc6f210997f7,518aa96d40a5dc6f210997f8,518aa96d40a5dc6f210997f9,518aa96d40a5dc6f210997fa,518aa96d40a5dc6f210997fb,518aa96d40a5dc6f210997fc,518aa96d40a5dc6f210997fd,518aa96d40a5dc6f210997fe,518aa96d40a5dc6f210997ff,518aa96d40a5dc6f21099800,518aa96d40a5dc6f21099801,518aa96d40a5dc6f21099802,518aa96d40a5dc6f21099803,518aa96d40a5dc6f21099804,518aa96d40a5dc6f21099805,518aa96d40a5dc6f21099806,518aa96d40a5dc6f21099807,518aa96d40a5dc6f21099808,518aa96d40a5dc6f21099809,518aa96d40a5dc6f2109980a,518aa96d40a5dc6f2109980b,518aa96d40a5dc6f2109980c,518aa96d40a5dc6f2109980d,518aa96d40a5dc6f2109980e,518aa96d40a5dc6f2109980f,518aa96d40a5dc6f21099810,518aa96d40a5dc6f21099811,518aa96d40a5dc6f21099812,518aa96d40a5dc6f21099813,518aa96d40a5dc6f21099814,518aa96d40a5dc6f21099815,518aa96d40a5dc6f21099816,518aa96d40a5dc6f21099817,518aa96d40a5dc6f21099818,518aa96d40a5dc6f21099819,518aa96d40a5dc6f2109981a,518aa96d40a5dc6f2109981b,518aa96d40a5dc6f2109981c,518aa96d40a5dc6f2109981d,518aa96d40a5dc6f2109981e,518aa96d40a5dc6f2109981f

Expected Response: HTTP RC 200 with the list of messages

Actual Response:

Response Headers {'retry-after': '30', 'content-length': '107', 'date': 'Wed, 08 May 2013 19:37:17 GMT', 'content-type': 'application/json; charset=utf-8', 'connection': 'close', 'server': 'gunicorn/0.17.4'}

Response Body { "title": "Service temporarily unavailable", "description": "Please try again in a few seconds." }
15:37:17.208

HTTP code 503

Revision history for this message
Zhihao Yuan (zyuan) wrote :

Not implemented. Probably not even for the demo.

description: updated
Changed in marconi:
status: New → Confirmed
Kurt Griffiths (kgriffs)
Changed in marconi:
importance: Undecided → High
Revision history for this message
Kurt Griffiths (kgriffs) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to marconi (master)

Reviewed: https://review.openstack.org/36319
Committed: http://github.com/stackforge/marconi/commit/4dfa19d403d506fe5a199577f582005419d1a5d9
Submitter: Jenkins
Branch: master

commit 4dfa19d403d506fe5a199577f582005419d1a5d9
Author: kgriffs <email address hidden>
Date: Thu Jun 27 10:54:31 2013 -0500

    Fix route for bulk-get message by ID

    This patch includes the following changes:

    * /v1/queues/my-queue?ids=1,2,3 => /v1/queues/my-queue/messages?id=1,2,3
    * Update Location header to suite
    * Always return the same schema for location header, regardless of the
      number of messages POSTed.

    Change-Id: I4559222e8f4685af1020c2743c26de699aef30dd
    Fixes: bug #1194571
    Fixes: bug #1165102

Changed in marconi:
status: Confirmed → Fix Committed
Changed in marconi:
milestone: none → havana-3
status: Fix Committed → Fix Released
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.