-
Notifications
You must be signed in to change notification settings - Fork 584
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 #8897] Duplicated scheduled downtimes created in cluster HA zone #2844
Comments
Updated by mfriedrich on 2015-04-04 12:07:39 +00:00
Can you elaborate in detail (configuration, logs) what you mean by that? I don't see a bug here. |
Updated by dgoetz on 2015-04-07 08:40:10 +00:00 Can try to get logs and config on Thursday, but it is simple to reproduce. Create a Schedulded Downtime in a high available zone and every icinga 2 host will create the Downtime object by its own, so it will be duplicated (or more because it is multiplied by the number of hosts). ( I have discussed this with Gunnar already and he confirmed it) |
Updated by mfriedrich on 2015-06-18 08:57:14 +00:00
|
Updated by mfriedrich on 2015-07-02 13:50:19 +00:00
|
Updated by mfriedrich on 2015-07-02 13:55:17 +00:00 The problem I still see is how to determine whether a downtime already exists with the same content. Do we compare by id, or more information passed? |
Updated by frjaraur on 2015-08-27 10:55:13 +00:00 I don't now if it related to something I have seen on my configuration. Thanks for Your Work, |
Updated by mfriedrich on 2015-09-12 09:08:31 +00:00
|
Updated by mfriedrich on 2015-09-12 09:08:37 +00:00
|
Updated by mfriedrich on 2016-03-04 15:54:13 +00:00
|
Updated by mfriedrich on 2016-11-09 14:52:13 +00:00
|
Duplicate of #4272 |
Actually not a duplicate, re-opening. |
ref/IP/9673 |
ref/NC/590167 |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/8897
Created by dgoetz on 2015-03-30 07:52:53 +00:00
Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2016-11-09 14:52:13 +00:00 (in Redmine)
Setup
Problem
Both cluster nodes sync their configuration, and will schedule a new downtime from the configuration objects.
The cluster event will be sent to each other and creating an additional downtime with the same time window, but different id.
Proposed Solution
Check for config_owner attribute in AddDowntime() and do not add the downtime if there already exists one.
This is similar to how we prevent deleting downtimes at runtime which are generated from config objects.
Original description
A Scheduled Downtime creates a Downtime on every host in ha zone, this causes no problems except of to many objects and bloated views.
Relations:
The text was updated successfully, but these errors were encountered: