[openstack-dev] [neutron][qos][ml2] extensions swallow exceptions
Ihar Hrachyshka
ihrachys at redhat.com
Fri Aug 7 05:41:06 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 08/04/2015 08:41 PM, Robert Kukura wrote:
> The process_[create|update]_<resource>() extension driver methods
> are intended to validate user input. Exceptions raised by these
> need to be returned to users so they know what they did wrong.
I am not sure they should be returned as-is, since those exceptions
may map to InternalError in the server unless inherited properly.
Anyway, I think the patch in question reached some level of maturity
that would need attention from ml2 and api people:
https://review.openstack.org/#/c/202061
Bob and others, please take a look.
Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJVxETvAAoJEC5aWaUY1u57OPIH/iKYuuLjWUyiq8l1BGQjx26+
sgsiWsYqjQxbKvU/LDmPK6bAcv2ElsMSWhWzBFGFe/XVFxNp8GmLCRrWN3XhW2lD
PVrApIwGsf0jMMiqRCuBGBIV4RxCqVUKYF8yETRphsDuaK8iYMwwsQl3feITddTf
byTMQS78GeFZGhyX2CVUge5oiVdLuCit22F8QdyndntttfYciOb7jKhhTGZuanhv
Xf1dkGGx+D6vuj90F0Ng9EuESDbFBgmEMkcMAWUGsgI+vjLwWHZD+D788gWjGsFp
QHiAxDVmJ94WNxBouoAOgpWVv+OwQ0Lmd+9LXHwFd/1cBbY9oPai8CgftQUV47o=
=htRR
-----END PGP SIGNATURE-----
More information about the OpenStack-dev
mailing list