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
[dev.icinga.com #10733] slaves can't modify objects (ack, comment, downtime) #3719
Comments
Updated by mfriedrich on 2015-11-26 17:35:04 +00:00 Add accept_config = true to your slaves' ApiListener config |
Updated by penyilas on 2015-11-26 17:59:00 +00:00 dnsmichi wrote:
Here's again, it looks, i wasn't clear... On master1 this "config-update" was discarded: In this case, this comment will not persisted into innodb, because master was discarded this message |
Updated by mfriedrich on 2015-11-26 18:01:39 +00:00 That wasn't supported in older versions either. |
Updated by penyilas on 2015-11-26 18:02:29 +00:00 dnsmichi wrote:
It worked before 2.4.0 |
Updated by mfriedrich on 2016-01-22 15:17:50 +00:00
|
Updated by tobiasvdk on 2016-02-16 11:02:51 +00:00 I also get the error message, but ack's are "synced". Nevertheless icingaweb2 does'nt show all information, see #10505 But e.g. downtimes don't work. |
Updated by tobiasvdk on 2016-02-16 11:02:57 +00:00
|
Updated by mfriedrich on 2016-03-18 15:30:52 +00:00
|
Updated by mfriedrich on 2016-03-29 08:46:32 +00:00
|
Updated by mfriedrich on 2016-03-29 10:08:43 +00:00
|
Updated by mfriedrich on 2016-11-09 14:52:21 +00:00
|
I can confirm this bug with Icinga 2.6.1. It would be great to see if this issue could be fixed any time soon. In enterprise environments, it could be the case that e.g. Icinga clients schedule a downtime for themselves at their responsible satellite (e.g. before a reboot). In this case, we can not allow the clients to talk to the master directly, which is why it would be great to see that creating downtimes on satellites actually works again. |
That behaviour changed in 2.4 and we haven't touched it ever since. It has been discussed a while ago in #4969 although it is unclear whether we change it back, or not. For the time being, this isn't really a bug anymore but a current behaviour which might need changes. We don't have any plans or time currently to look further into it, but you're welcome to suggest possible design changes (as a matter of security) or send a PR even :) |
I have same issues with my nodes after upgrading from 2.4.x to 2.6.1. "warning/ApiListener: Discarding 'config update object' message from" Of course accept_config is true. |
I have the same issues with my nodes on version 2.6.2-1 |
@dnsmichi Thanks for the fast reply. I will contact you directly during the Icinga Camp then, I guess :) Would be great to hear some more thoughts regarding the design decisions and how a possible change could look like. |
I just compiled from the source, and working fine again. Previously I tried via DEB packages. |
@dombyy Uhm I doubt that compiling from source changes anything regarding the requested behaviour. What exactly did you test? |
I did not do test, i just upgraded from 2.4.x to 2.6.1, and nodes stopped sync the configs. Then I grabbed the source, compiled everything, and its working again, with the 'Discard config' messages. |
There are no plans to support this. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10733
Created by penyilas on 2015-11-26 17:18:47 +00:00
Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2016-11-09 14:52:21 +00:00 (in Redmine)
Hi,
I've a 2 master 2 satellite configuration
I'm running icinga-web2 on satellites (because they've more resources, than the masters)
On 2.3.11, it worked perfectly, but now, I can't ack a problem, schedule downtime, etc, because:
warning/ApiListener: Discarding 'config update object' message from 'slave1'
If I install an icinga-web2 into master, it's working again, but I'd like to avoid it.
Can you add some exceptions into here?
https://github.com/Icinga/icinga2/blob/master/lib/remote/apilistener-configsync.cpp#L91
Regards,
Peter Nyilas
Relations:
The text was updated successfully, but these errors were encountered: