delHost doesn't keep in-memory config in sync

Bug #324695 reported by Jehiah
2
Affects Status Importance Assigned to Milestone
txLoadBalancer
New
Undecided
Unassigned

Bug Description

the code for web/admin/pages.py/DeleteHost does not use web/admin/pages.py/Editor/delHosts like the matching addHost call does. this leads to ugly code, and i think some of it is unused right now

Further, the delHost function that is called does not properly update the config object (the un-called Editor/delHost function does have logic to remove the host from the internal config)

this causes problems if you re-add an existing host under a new name, as it will be listed in the config file twice, and it makes it so the running config file does not match the 'all' interface

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.