← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1698284] [NEW] precommit of securitygroup/rule is missing necessary info

 

Public bug reported:

https://review.openstack.org/#/c/284738/
breaks mechanism driver. especially networking-odl

precommit callbacks of security group/security group rule creation are missing necessary info.
They should pass more info. For example id, egress/ingress_rule as deafult rule.
Before ovo patch, those information can retrieved from context.session.new.
However with ovo patch, those newly created orm object is dropped from session as
NeutronDbObject expung itself when it's created. See neutron.objects.base._detach_db_obj for db relationship.

** Affects: networking-odl
     Importance: Critical
     Assignee: Isaku Yamahata (yamahata)
         Status: In Progress

** Affects: neutron
     Importance: Undecided
     Assignee: Isaku Yamahata (yamahata)
         Status: In Progress

** Also affects: networking-odl
   Importance: Undecided
       Status: New

** Changed in: networking-odl
   Importance: Undecided => Critical

** Changed in: networking-odl
     Assignee: (unassigned) => Isaku Yamahata (yamahata)

** Changed in: networking-odl
    Milestone: None => 11.0.0

** Changed in: neutron
     Assignee: (unassigned) => Isaku Yamahata (yamahata)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1698284

Title:
  precommit of securitygroup/rule is missing necessary info

Status in networking-odl:
  In Progress
Status in neutron:
  In Progress

Bug description:
  https://review.openstack.org/#/c/284738/
  breaks mechanism driver. especially networking-odl

  precommit callbacks of security group/security group rule creation are missing necessary info.
  They should pass more info. For example id, egress/ingress_rule as deafult rule.
  Before ovo patch, those information can retrieved from context.session.new.
  However with ovo patch, those newly created orm object is dropped from session as
  NeutronDbObject expung itself when it's created. See neutron.objects.base._detach_db_obj for db relationship.

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-odl/+bug/1698284/+subscriptions


Follow ups