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/ +/822611 /opendev. org/openstack/ neutron/ commit/ eb1190d2067f24b 6accc3463e601e5 b41c0e0be4
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit eb1190d2067f24b 6accc3463e601e5 b41c0e0be4
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