Reviewed: https://review.openstack.org/274537 Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=ad47f1bcfc4e10ef2261432f58a247244fdad980 Submitter: Jenkins Branch: master
commit ad47f1bcfc4e10ef2261432f58a247244fdad980 Author: wangxiyuan <email address hidden> Date: Mon Feb 1 15:45:33 2016 +0800
Fix 500 error when create pools in wsgi v2.
When create a pool with a url which is already exist in db, pymongo will raise a DuplicateKeyError error. Zaqar-wsgi don't catch it.
APIImpact
Change-Id: I487a372533c5e8de9edd5796e0039320d2d55b6a Closes-bug: #1540246
Reviewed: https:/ /review. openstack. org/274537 /git.openstack. org/cgit/ openstack/ zaqar/commit/ ?id=ad47f1bcfc4 e10ef2261432f58 a247244fdad980
Committed: https:/
Submitter: Jenkins
Branch: master
commit ad47f1bcfc4e10e f2261432f58a247 244fdad980
Author: wangxiyuan <email address hidden>
Date: Mon Feb 1 15:45:33 2016 +0800
Fix 500 error when create pools in wsgi v2.
When create a pool with a url which is already exist in db,
pymongo will raise a DuplicateKeyError error. Zaqar-wsgi
don't catch it.
APIImpact
Change-Id: I487a372533c5e8 de9edd5796e0039 320d2d55b6a
Closes-bug: #1540246