icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

Child service becomes reachable, even when only one parent changes to OK

Open A41susan opened this issue 2 years ago • 4 comments

Describe the bug

As of Icinga version 2.14.0 this change has been implemented: Consider a checkable unreachable once one Dependency fails. Previously all of them had to fail.

This is useful behaviour for our services with more than one parent. But if a service has two or more service dependencies, then it should only return to a Reachable state, when all parent services have returned to status OK.

To Reproduce

Services "parent1" and "parent2" are parent to service "child"

  1. Set "parent1" to Critical. "child" becomes unreachable.
  2. Set "parent2" to Critical. "child" remains unreachable.
  3. Set "parent1" to OK. "child" becomes reachable.

Expected behavior

Since "child" is dependendant on both parent services, it should only be reachable, when both are OK.

  1. Set "parent1" to Critical. "child" becomes unreachable.
  2. Set "parent2" to Critical. "child" remains unreachable.
  3. Set "parent1" to OK. "child" remains unreachable.
  4. Set "parent2" to OK. "child" becomes reachable.

Your Environment

Version used (icinga2 --version): r2.14.0-1 Operating System and version: SUSE Linux Enterprise Server 12 SP5 Enabled features (icinga2 feature list): api checker graphite icingadb ido-mysql influxdb2 mainlog notification icingadb --version Icinga DB version: v1.1.0

A41susan avatar Nov 14 '23 12:11 A41susan

As stated in the release note of 2.14.0 under breaking changes:

Redundant dependencies now have to be configured explicitly using the new redundancy_group attribute.

Are any reduncancy_groups involved?

slalomsk8er avatar Nov 15 '23 10:11 slalomsk8er

I'm not using any redundancy groups.

A41susan avatar Nov 15 '23 11:11 A41susan

Hello and thanks for reporting!

What exactly do you mean with becomes reachable? What are the symptoms?

Best, A/K

Al2Klimov avatar Apr 09 '24 14:04 Al2Klimov

Hi,

I'm referring to the indicator on host and service pages in Icingaweb2 under "Check Execution" -> "Reachable" -> yes or no

A41susan avatar Apr 15 '24 08:04 A41susan