Comment 2 for bug 1266570

Revision history for this message
Rich Curran (rcurran) wrote :

Hi Romil -
There are many places in delete_xxx_postcommit() mechanism drivers where exceptions are taken. Today all the MD exceptions get mapped to the ML2 common exception MechasnismDriverError and in the case of delete_xxx_postcommit() methods these exceptions are only logged (see plugin.py: delete_network,subnet,port methods).

There's been other investigations in this general area (i.e. error reporting inside of ML2, specifically for MDs):
https://etherpad.openstack.org/p/ML2_Juno_Roadmap
- See "ML2 Driver Error handling and recovery - ML2 Sync:" section
- https://review.openstack.org/#/c/69748/6
   During this review (see comments) it was recommended that an approach similar to Nova be implemented:
   https://wiki.openstack.org/wiki/NovaInstanceActions

I don't think that you could work on this bug without finding out the current status of how the overall ML2 error reporting design may be changed.

Thanks, Rich