diff --git a/neutron/db/provisioning_blocks.py b/neutron/db/provisioning_blocks.py index 22c48277179..770b5e94015 100644 --- a/neutron/db/provisioning_blocks.py +++ b/neutron/db/provisioning_blocks.py @@ -41,6 +41,7 @@ def add_model_for_resource(resource, model): @db_api.retry_if_session_inactive() +@db_api.CONTEXT_WRITER def add_provisioning_component(context, object_id, object_type, entity): """Adds a provisioning block by an entity to a given object.