WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
84 stars 37 forks source link

[FEATURE REQUEST] Indicate config apply failure in UI #604

Open ValeriiVozniuk opened 5 months ago

ValeriiVozniuk commented 5 months ago

fM Version : 4.5.0 fmDNS Version : 5.3.3

In raising this issue, I confirm the following (please check boxes, eg [X]):


(BUG | ISSUE) Expected Behavior: In case, if there was a Build Config failure on one of the servers, indicate this in UI until next successful apply

(BUG | ISSUE) Actual Behavior:

nameserver01.example.com
 --> [nameserver01.example.com] Configuration build was successful.

nameserver02.example.com
 --> Failed: could not access nameserver02.example.com (tcp/22).

nameserver03.example.com
 --> [nameserver03.example.com] Configuration build was successful.

Complete.

Despite second server apply has failed, there are no indications about it in UI afterwards.

(BUG | ISSUE) Steps to reproduce:

  1. Create a 3 node deployment.
  2. Define some test zone and apply it to servers.
  3. Shutdown the second server.
  4. Make a change to created zone records, and run Build Config.
  5. Apply on the second server will fail, but after clicking OK it is not seen anywhere. Even in Admin logs there are 2 records about successful build, but no error for the unsuccessful apply.

This scenario appeared yesterday during demo to the manager, and he was worried that support person may miss the fail during apply, and anyone would not notice that something is wrong afterwards.