Previously, the OpenStack Dashboard LBaaS pool details page would not correctly handle the unexpected case of the subnet attached to an LBaaS pool being deleted.
Consequently, if you created a network, subnet, router, and load balancer, and then deleted the network, subnet, and router, but retained the load balancer, the OpenStack Dashboard LBaaS details page would return error 500.
This update addresses this issue by checking for this scenario and displaying a warning message instead. As a result, the LBaaS details page now renders correctly and displays a warning as needed.
DescriptionAndrew Spurrier
2014-10-14 13:04:44 UTC
Description of problem: Deleting a network while a Load Balancer is still defined breaks the Load Balance GUI page.
Version-Release number of selected component (if applicable):
RHELOSP 5
How reproducible: I imagine completely but I can't test it at this stage because I can not define any more Load Balancers!
Steps to Reproduce:
1. Via the RHELOSP 5 Web interface
2. Define a network
3. Define a router
4. add an interface to the router
5. add a load balancer
6. delete the interface on the router
7. delete the router
8. delete the network
Actual results:
The network is deleted and from now on the "Load Balancer" tab on the network page cannot be accessed.
> Something went wrong!
>
> An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.
>
> Home
>
> Help
Expected results:
Error reported that the network cannot be deleted while a "Load Balancer" is defined.
Additional info:
Hi Toni,
Can you please try to reproduce this issue? I am also interested to know what is the behavior in the CLI to determine if this is a Neutron issue or Horizon one.
Thanks,
Nir
Have tested on RHEL7 the latest rhos6
openstack-neutron-2014.2.1-6.el7ost.noarch
python-django-horizon-2014.2.1-5.el7ost.noarch
The issue has reproduced via Horizon.
In CLI the same behaviour, can delete network even the LB pool exists.
A patch which fixes the GUI error has been merged late January [1] by the community, so it should be fixed in OSP-7.
John.
[1]: https://review.openstack.org/#/c/147790/
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2015:1548
Description of problem: Deleting a network while a Load Balancer is still defined breaks the Load Balance GUI page. Version-Release number of selected component (if applicable): RHELOSP 5 How reproducible: I imagine completely but I can't test it at this stage because I can not define any more Load Balancers! Steps to Reproduce: 1. Via the RHELOSP 5 Web interface 2. Define a network 3. Define a router 4. add an interface to the router 5. add a load balancer 6. delete the interface on the router 7. delete the router 8. delete the network Actual results: The network is deleted and from now on the "Load Balancer" tab on the network page cannot be accessed. > Something went wrong! > > An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator. > > Home > > Help Expected results: Error reported that the network cannot be deleted while a "Load Balancer" is defined. Additional info: