Fixes [1] and [2] for bug [3] are using new callabacks mechanism and
expects payload as one of the arguments passed to the callback functions.
This works fine in Xena+ releases but not in Wallaby and olders where
old callbacks mechanism is still used, at least for the security group
AFTER_DELETE events.
So this patch fixes that by changing to the old callbacks mechanism in
the logging service plugin in stable/wallaby and older branches only.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/822610 /opendev. org/openstack/ neutron/ commit/ 90156cef695b26d 6f8bcf5f7f0329e ffafc4e322
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 90156cef695b26d 6f8bcf5f7f0329e ffafc4e322
Author: Slawek Kaplonski <email address hidden>
Date: Wed Dec 22 08:37:45 2021 +0100
[Stable only] Fix callback function arguments
Fixes [1] and [2] for bug [3] are using new callabacks mechanism and
expects payload as one of the arguments passed to the callback functions.
This works fine in Xena+ releases but not in Wallaby and olders where
old callbacks mechanism is still used, at least for the security group
AFTER_DELETE events.
So this patch fixes that by changing to the old callbacks mechanism in
the logging service plugin in stable/wallaby and older branches only.
Closes-Bug: #1955546
[1] https:/ /review. opendev. org/c/openstack /neutron/ +/804237 /review. opendev. org/c/openstack /neutron/ +/812459 /bugs.launchpad .net/neutron/ +bug/1939558
[2] https:/
[3] https:/
Change-Id: I0003bd566dc769 436ad1342351ad0 58394bd52da