failures running stackforge-barbican-cloudcafe

Bug #1330775 reported by Steve Heyman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Medium
Steve Heyman

Bug Description

106 failures running stackforge-barbican-cloudcafe

To simplify recreate you can run a test to create an order with this curl command:

curl -X POST -H "X-Auth-Token: <token>" -H "Content-Type': 'application/json'" -d '{"secret": {"mode": "cbc", "bit_length": 128, "name": "secretname", "algorithm": "aes", "payload_content_type": "application/octet-stream"}}' http://<host>:9311/v1/<tenant>/orders

Shows this error on the barbican server:

2014-06-17 00:34:56.028 10941 ERROR barbican.api.controllers [-] Order creation failure seen - please contact site administrator.
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers Traceback (most recent call last):
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers File "/usr/lib/python2.6/site-packages/barbican/api/controllers/__init__.py", line 85, in handler
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers return fn(inst, *args, **kwargs)
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers File "/usr/lib/python2.6/site-packages/barbican/api/controllers/__init__.py", line 71, in enforcer
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers return fn(inst, *args, **kwargs)
2014-06-17 00:34:56.028 10941 TRACE barbican.api.controllers TypeError: on_post() got an unexpected keyword argument '{"secret": {"mode": "cbc", "bit_length": 128, "name": "secretname", "algorithm": "aes", "payload_content_type": "application/octet-stream"}}'

Steve Heyman (sheyman)
Changed in barbican:
status: New → Confirmed
assignee: nobody → Steve Heyman (sheyman)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

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

Changed in barbican:
status: Confirmed → In Progress
Steve Heyman (sheyman)
Changed in barbican:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/100398
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=032c3087648dab2211d6969f814d9f266d2860bb
Submitter: Jenkins
Branch: master

commit 032c3087648dab2211d6969f814d9f266d2860bb
Author: Steve Heyman <email address hidden>
Date: Mon Jun 16 19:15:20 2014 -0500

    Add **kwargs to on_<verb> controllers

    Prevents "unexpected keyword argument" errors to pecan controllers.

    Change-Id: I92bd95c2cf4b8808723d8bfd0c928d113b6fbed6
    Closes-Bug: 1330775

Changed in barbican:
status: In Progress → Fix Committed
Changed in barbican:
milestone: none → juno-2
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: juno-2 → 2014.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.