Reviewed: https://review.openstack.org/271552 Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=79237e5080e579272101fb198ff0d48ae72c3a98 Submitter: Jenkins Branch: master
commit 79237e5080e579272101fb198ff0d48ae72c3a98 Author: Paddu Krishnan <kpr...@yahoo.com> Date: Thu Jan 21 18:37:46 2016 -0800 Send Notifications for Firewall policy updates Currently notifications are generated for the following: a. When a Firewall is created/deleted b. when a rule is created/deleted/modified c. When a policy is created/deleted. But, after a policy is created, when rules are inserted or removed from a policy, no notifications are generated. These notifications refer to the audit logs for fwaas operations performed by a user. The proposed fix is similar to how notifications are generated for interfaces added or deleted to router and DHCP agent notifications. Change-Id: I7242867e41abc625eb1085983118c09a28249b85 Closes-Bug: #1531011 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1531011 Title: When firewall rule is inserted/deleted from a policy, notifications are not generated Status in neutron: Fix Released Bug description: For Firewall, Rabbitmq Notifications are generated for the following: When a Firewall is created/deleted when a rule is created/deleted/modified When a policy is created/deleted. But, after a policy is created, when rules are inserted or removed from a policy, no notifications are generated. The following is the screen shot when a firewall is deleted, captured using rabbitmqadmin (an example to indicate what notifications is referred here). This issue is found in both Kilo and Juno. | routing_key | exchange | message_count | payload | payload_bytes | payload_encoding | redelivered | +-------------------------------+----------+---------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ----------------------------------------+---------------+------------------+-------------+ | Test_neutron_notify.info | neutron | 1 | {"_context_roles": ["_member_", "admin"], "_context_request_id": "req-4170bbcc-b467-4686-a97f-38324fc54bc5", "event_type": "firewall.delete.start", "timestamp": "2016-01-04 22:28:27.885535", "_context_tenant_id": "2028fe85b5ef4cffa1a9a88a39a37787", "_context_user": "22fab1c0e5534e1099a42fb85286c922", "_unique_id": "93de171182df4b00a77be4e1b9ea02da", "_context_tenant_name": "KLPROJ", "_context_user_id": "22fab1c0e5534e1099a42fb85286c922", "payload": {"firewall_id": "ddce3c3c-5a5c-48e1-8d44-612b21c96033"}, "_context_project_name": "KLPROJ", "_context_read_deleted": "no", "_context_auth_token": "b1166ae3cbb4419ca9983c3cf8895ed0", "_context_tenant": "2028fe85b5ef4cffa1a9a88a39a37787", "priority": "INFO", "_context_is_admin": true, "_context_project_id": "2028fe85b5ef4cffa1a9a88a39a37787", "_context_timestamp": "2016-01-04 22:28:27.882236", "_context_user_name": "kilo", "publisher_id": "network.paddu-krish-133", "message_id": "4a39 1857-a18e-4188-83a4-17407b4ca8bb"} | 974 | string | False | To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1531011/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp