Wrap DB errors or improve validation logic

Registered by Nikolay Markov

Currently, any API calls including fields which break some DB constraints will return 500 error because of lack of validation and absense of SQLAlchemy error handling. We need to improve this logic.

Blueprint information

Status:
Complete
Approver:
Evgeniy L
Priority:
Medium
Drafter:
Nikolay Markov
Direction:
Approved
Assignee:
Ihor Kalnytskyi
Definition:
Approved
Series goal:
Accepted for 5.0.x
Implementation:
Implemented
Milestone target:
milestone icon 5.0
Started by
Ihor Kalnytskyi
Completed by
Dmitry Pyzhov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/nailgun-rest-db-constraint,n,z

Addressed by: https://review.openstack.org/82850
    Raise 400 error when DB constraints were broken

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.