Incorrect success message of remove routers with firewall in Horizon
Bug #1513396 reported by
Bao Fangyan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Neutron FWaaS dashboard |
Confirmed
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1) Create allow icmp rule
2) Create policy with this rule
3) Create firewall with the policy and associate router1 in Horizon
4) Click remove router,do nothing or unselect router1 then select it again.
Result:
There's a success message says:"Router(s) was successfully removed from firewall fw."
In fact,the unselected router will be remove.
Changed in horizon: | |
assignee: | nobody → Pallavi (p-pallavi) |
Changed in horizon: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | Pallavi (p-pallavi) → surbhi sarda (surbhisarda) |
Changed in horizon: | |
assignee: | surbhi sarda (surbhisarda) → nobody |
affects: | horizon → neutron-fwaas-dashboard |
tags: | added: v1-dashboard |
To post a comment you must log in.
Hi,
I have reproduced the bug as provided in the bug description and could see the success message ""Router(s) was successfully removed from firewall fw." eventhough no routers were removed. Ideally, we should unselect the router we want to remove(by default all the routers will be selected).
I have modified the code such that instead of the success message, the below failure message will be printed if we do nothing or unselect the router and select it again.
"Error: Failed to remove router(s) from firewall FW: as none of the routers were unselected"
Please provide your comments.
Thanks & Regards,
Pallavi.