zaqar-wsgi raise 500 error when create a pool
Bug #1540246 reported by
wangxiyuan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
High
|
wangxiyuan |
Bug Description
reproduce:
1. create a pool with url : "uri": "mongodb:
2.create an other pool with the same url.
Zaqar-wsgi will return 500 error.
The reason is that Zaqar-wsgi doesn't catch DuplicateKeyError for pymongo.
Changed in zaqar: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
Changed in zaqar: | |
importance: | Undecided → High |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/274537
Review: https:/