Order creation failing with 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Steps to Reproduce:
POST http://
{
"secret": {
"name": "secretname",
"algorithm": "AES",
"bit_length": 256,
"cypher_type": "CBC"
}
}
Response
{
"title": "Order creation failure seen - please contact site administrator"
}
Also, since I've been running Barbican locally, I have the logging for this error.
2013-08-05 11:34:51 DEBUG [barbican.
2013-08-05 11:34:51 DEBUG [barbican.
2013-08-05 11:34:51 ERROR [barbican.
Traceback (most recent call last):
File "/home/
fn(inst, req, resp, *args, **kwargs)
File "/home/
new_
KeyError: 'mime_type'
tags: | added: order |
tags: | added: creation |
Changed in cloudkeep: | |
importance: | Undecided → Critical |
Changed in cloudkeep: | |
milestone: | none → havana-3 |
Changed in cloudkeep: | |
status: | Fix Committed → Fix Released |
Fixed in latest barbican (Commit 9ee72c2a90a4a4f 643f7d79b41318c ff54cdb181)
Server now responds with:
400 - "No support for value set on field 'payload_ content_ type' on schema 'Order': Only 'application/ octet-stream' supported"