← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1939558] [NEW] Security group log entry remains in the database after its security group is deleted

 

Public bug reported:

Issue originally reported by Alex Katz for OSP-16 but I can reproduce it
also in master branch. Original Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1988793

Description of problem:
After the security group is deleted its corresponding log entry is still presented in the database.


Version-Release number of selected component (if applicable):


How reproducible:
Reproduced in ml2/OVS and ml2/OVN setups


Steps to Reproduce:
# openstack security group create sg_1
# openstack network log create --resource-type security_group --resource sg_1 --event ALL test_log
# openstack security group delete sg_1
# openstack network log show test_log

Actual results:
there is sill entry for `test_log`

Expected results:
security group deletion should fail with the clear error message or the cascade deletion should happen

** Affects: neutron
     Importance: Medium
     Assignee: Slawek Kaplonski (slaweq)
         Status: Confirmed


** Tags: api logging

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

Title:
   Security group log entry remains in the database after its security
  group is deleted

Status in neutron:
  Confirmed

Bug description:
  Issue originally reported by Alex Katz for OSP-16 but I can reproduce
  it also in master branch. Original Bugzilla:
  https://bugzilla.redhat.com/show_bug.cgi?id=1988793

  Description of problem:
  After the security group is deleted its corresponding log entry is still presented in the database.

  
  Version-Release number of selected component (if applicable):

  
  How reproducible:
  Reproduced in ml2/OVS and ml2/OVN setups

  
  Steps to Reproduce:
  # openstack security group create sg_1
  # openstack network log create --resource-type security_group --resource sg_1 --event ALL test_log
  # openstack security group delete sg_1
  # openstack network log show test_log

  Actual results:
  there is sill entry for `test_log`

  Expected results:
  security group deletion should fail with the clear error message or the cascade deletion should happen

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1939558/+subscriptions



Follow ups