Comment 13 for bug 1452835

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12343
Committed: http://github.org/Juniper/contrail-controller/commit/a418f45a646b9e2b989d2a2f22ce6cea48a60c9a
Submitter: Zuul
Branch: R2.22-dev

commit a418f45a646b9e2b989d2a2f22ce6cea48a60c9a
Author: Hampapur Ajay <email address hidden>
Date: Mon Jun 22 11:24:17 2015 -0700

config-exception: Handle dbe_read raising NoIdError

dbe_read will raise this if object not available and caller
will determine if this can be gracefully handled.
Handled with 404 in GET/PUT/DEL for object in URL.
Handled with 500 if a parent/referred object is missing.

Database errors remapped to DatabaseUnavailable exception.

Partial-Bug: #1452835

Change-Id: I991e311c20d7020bc84cd571f6484349cdabcfaa