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 #11541] Objects created in a global zone are not synced to child endpoints #4098
Comments
Updated by Christian_vlc on 2016-04-07 12:50:36 +00:00 sorry, I did one mistake with the copy/paste: Group configured via _etc:
|
Updated by mfriedrich on 2016-04-07 13:50:57 +00:00
CanAccessZone() needs to return true for objects which are in a global zone. |
Updated by Christian_vlc on 2016-04-07 14:03:47 +00:00 Ok, if you need something... debug.log or some other thing, please tell me :-) |
Updated by mfriedrich on 2016-05-21 13:58:46 +00:00
|
Updated by mfriedrich on 2016-05-21 13:59:33 +00:00 Please use the pre-Tags for configuration/commands/logs next time. |
Updated by mfriedrich on 2016-05-21 14:23:35 +00:00 Steps to reproduce:
|
Updated by mfriedrich on 2016-05-21 14:23:54 +00:00
|
Updated by Christian_vlc on 2016-05-24 06:35:00 +00:00 Hi Michael, do you have some idea about when can be it fixed? is there a targeted fix for it? Sorry, I don't want pressure you.. I only want know if I can wait or if I should try some workaround for our register process via API :) |
Updated by Christian_vlc on 2016-06-23 13:19:22 +00:00 Hi! are some update? maybe one target version or temporal solution? We cant use the API for create new Hosts/Hostsgroups in one cluster environment (with differents Zones) |
Updated by mfriedrich on 2016-06-23 13:38:30 +00:00
The required changes are larger than expected. We've put a higher priority onto it but still dealing with other issues at the time of writing. |
Updated by mfriedrich on 2016-06-23 13:38:41 +00:00
|
Updated by mfriedrich on 2016-06-23 13:38:54 +00:00
|
Updated by Christian_vlc on 2016-06-24 08:25:48 +00:00 ok, many thanks for the Info and for the higher priority Michael :) |
Updated by Christian_vlc on 2016-09-22 11:54:35 +00:00 Hi Michael, |
Updated by mfriedrich on 2016-09-28 13:43:35 +00:00
|
Updated by mfriedrich on 2016-11-10 19:05:18 +00:00
|
Updated by mfriedrich on 2016-11-11 10:24:17 +00:00 Resync works now with fixes applied in #11684. Initial synchronisation fails due to messages not relayed to any node, if the target_zone is global.
|
Updated by mfriedrich on 2016-11-11 14:04:51 +00:00 This affects message routing for global target zones. Currently we do not "broadcast" messages to a global zone which literally means to any node. Limitations apply to all parent and child zone members, they take then care of re-routing the messages. That's not cached at all and might cause trouble with fetching all immediate parent and child zone members on sending just one cluster message. A patch is located in fix/api-cluster-global-zone-11541 but I am not sure if I really want that being released. The fairly small other required patch is to open CanAccessObject() for objects in a global zone, which basically is "always true"). The difficult parts remain inside apilistener.cpp |
Updated by mfriedrich on 2016-11-14 13:45:03 +00:00
Applied in changeset 40d68fc. |
Updated by mfriedrich on 2016-11-18 11:00:15 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11541
Created by Christian_vlc on 2016-04-07 12:47:01 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-11-14 13:45:03 +00:00)
Target Version: 2.6.0
Last Update: 2016-11-18 11:00:15 +00:00 (in Redmine)
Hi,
Until now I configure every time the hostgroups in the zone "global-templates", and then they are sync to every other Zone (like the templates and contacts). But now I have one problem if I tried to build the hostgroup via API. All templates and contacts are sync but the hostgroups are sync only if are via Config File configured (package: _etc).
Is that one Bug? one limitation? or I'm doing something false?
my zones.conf (in both servers):
my api conf (in both servers):
Group configured via API:
Group configured via _etc:
Icinga Version: r2.4.3-1 and 2.4.4-1 (I test it with these two version)
**** I use every time the API of the server icinga-dev-01 (master Zone) for configure the Objects
Many Thanks,
Christian
Changesets
2016-11-14 13:42:47 +00:00 by mfriedrich 40d68fc
2016-11-18 13:00:41 +00:00 by mfriedrich ca7f195
Relations:
The text was updated successfully, but these errors were encountered: