← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531011] [NEW] When firewall rule is inserted/deleted from a policy, notifications are not generated

 

Public bug reported:

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": "4a391857-a18e-4188-83a4-17407b4ca8bb"} | 974           | string           | False       |

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: fwaas logging neutron

** Description changed:

  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. This
- issue is found in both Kilo and Juno.
+ 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": "4a391857-a18e-4188-83a4-17407b4ca8bb"} | 974           | string           | False       |

-- 
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:
  New

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": "4a391857-a18e-4188-83a4-17407b4ca8bb"} | 974           | string           | False       |

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


Follow ups