Firewall remain in active state even after deleting router associated with firewall
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
High
|
Unassigned |
Bug Description
Steps to Reproduce:
==================
1. Create a network,
2. Create firewall rule
3. Create firewall Policy with the above firewall rule
4. Create firewall with above policy
And make above route set to the firewall.
5. Then delete the router attached to the firewall and check the status of the firewall
Issue :
Firewall remain in ACTIVE state even though router id field is blank while getting the details of the firewall
{code}
stack@stevens-
+------
| id | name | firewall_policy_id |
+------
| 71746ed4-
+------
stack@stevens-
+------
| Field | Value |
+------
| admin_state_up | True |
| description | |
| firewall_policy_id | 320f68ea-
| id | 71746ed4-
| name | user-fw |
| router_ids | |
| status | ACTIVE |
| tenant_id | 84dc1f66b8b34fb
+------
stack@stevens-
{code}
Expected :
Firewall state should change to either pending or error state.
Changed in neutron: | |
assignee: | nobody → PrasannaaTS (tsprasannaa83) |
Changed in neutron: | |
importance: | Medium → High |
Indeed update_ firewall_ routers( ) does not update status field for Firewall model if router_ids are empty.