-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken CommandTransport in cluster mode #950
Comments
Hello, Can you also do the check that the icinga is not in progress with reloading it? From this version , the API no longer accepts changes when it is reloading.
This question is because reloading takes some time for us. |
Icinga2 wasn't in progress of reload. |
sorry my english is not very good and maybe not explained very well. I just ask that they do 2 tests. IF the first server icinga2 is not running (your check) OR the first server is running but has the icinga2 status reloading (my check) THEN go to the second server |
Describe the bug
I have configured both Icinga 2 nodes in the IcingaDB module on a dedicated running Icinga Web 2. If the first in the list is going down, every sent command get: 'Cannot traverse an already closed generator'.
To Reproduce
[server1.icinga.com]
transport = "api"
host = "server1.icinga.com"
port = "5665"
username = "icingaweb2"
password = "icingaweb2"
[server2.icinga.com]
transport = "api"
host = "server2.icinga.com"
port = "5665"
username = "icingaweb2"
password = "icingaweb2"
Expected behavior
IcingaDB module should try the second icicinga2 (server2) if the first one fails.
Your Environment
Include as many relevant details about the environment you experienced the problem in.
icinga2 --version
): 2.14.0icingadb --version
): 1.1.1php --version
): 8.0.30The text was updated successfully, but these errors were encountered: