)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"43ec761790678687ed002e882a6ee90da3a50271","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"0e5ee06e_8a0502e9","updated":"2026-08-05 07:38:18.000000000","message":"nice way to fix the issue","commit_id":"19d7151a3c9169a90afee3be25ea3fce5cf4ff86"}],"neutron/db/l3_db.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"2e90bd2a197cc17b3ae9715239397106feb56a51","unresolved":false,"context_lines":[{"line_number":635,"context_line":""},{"line_number":636,"context_line":"    @db_api.retry_if_session_inactive()"},{"line_number":637,"context_line":"    def delete_router(self, context, id):"},{"line_number":638,"context_line":"        # Check if the router is in use before firing BEFORE_DELETE callbacks"},{"line_number":639,"context_line":"        # to avoid partial cleanup (e.g. gateway removal) when deletion fails."},{"line_number":640,"context_line":"        # See https://bugs.launchpad.net/neutron/+bug/2162868"},{"line_number":641,"context_line":"        with db_api.CONTEXT_READER.using(context):"}],"source_content_type":"text/x-python","patch_set":1,"id":"911606b2_7a2ec351","line":638,"updated":"2026-08-05 06:05:04.000000000","message":"That works. The method `_delete_router_remove_external_gateways` is registered to (resources.ROUTER, events.BEFORE_DELETE) and is what is unsetting the GW from the router. That fixes this problem.","commit_id":"19d7151a3c9169a90afee3be25ea3fce5cf4ff86"}]}
