yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58401
[Bug 1639539] [NEW] security group/security group rule bulk creation is broken
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1639539
Title:
security group/security group rule bulk creation is broken
Status in neutron:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1639539/+subscriptions