security group/security group rule bulk creation is broken

Bug #1639539 reported by Isaku Yamahata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

Bug Description

security group/security group rule bulk creation is (potentially) broken.

neutron/db/securitygroups_db.SecurityGroupDbMixin.create_security_group[_rule]_bluk
calls _create_bulk which calls create_security_group[_rule]() within db transaction.
This implentation isn't correct because create_security_group[_rule] calls AFTER_CRATE callback
which shouldn't be called within db transaction.

The solution is to implement its own bulk create operation like neutron.plugins.ml2.plugin.Ml2Plugin._create_bluk_ml2
which knows about precommit/postcommit.

Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.