[V2 API] Trying to crate a pool causes exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
Undecided
|
Adam Harwell |
Bug Description
I send:
{
"pool": {
"name": "my-pool",
"protocol": "HTTP"
}
}
to URL: http://
result:
{
"debuginfo": "Traceback (most recent call last):\n\n File \"/usr/
"faultcode": "Server",
"faultstring": "u'detail'"
}
I would;d expect not to see an exception in the return
Logs: a251-41c5- 93d8-c431ad173d ab - a476a84e54644f1 ab01864ed7fa6e2 58 - default default] Server-side error: "u'detail'". Detail:
2017-04-03 14:26:55.960 57815 ERROR wsme.api [req-cb9e8308-
Traceback (most recent call last):
File "/usr/local/ lib/python2. 7/dist- packages/ wsmeext/ pecan.py" , line 85, in callfunction
result = f(self, *args, **kwargs)
File "/opt/stack/ octavia/ octavia/ api/v2/ controllers/ pool.py" , line 155, in post ValidationExcep tion(details= msg)
raise exceptions.
File "/opt/stack/ octavia/ octavia/ common/ exceptions. py", line 64, in __init__
self.msg = self.msg % kwargs
KeyError: u'detail'