-
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
'recreated' API objects are not (always) active in IDO DB #5205
Comments
Thanks - looking at the issue with less sleepy eyes, it may be related to #5152 as well |
Hello, � |
@grrvs Delete host and create host within a real short period of time could indeed trigger weirdness in the current state. Could try this test again using my API patches in #5419 it makes the API a bit more stable. After the test, wait 30 seconds and check if the thread counter is back to normal. |
Parent ticket for solving these problems is #6012. |
If I create a bunch of hosts and services via API, delete these objects, and recreate the same objects again, sometimes one or more object(s) are lost in Icingaweb2.
As far as I understand these are not set
is_active=1
in IDO DB / table icinga_objectsExpected Behavior
all objects should be active if configured - even those that get created and deleted over and over
Current Behavior
some objects are not active, resulting in a 'funny state' - 22 Services vs. 74 total

Restarting the process helps sometimes
Possible Solution
no clue
Steps to Reproduce (for bugs)
Context
I first noticed this with 2.5.x as we set up a HA cluster with a single DB.
We tested some 'how long does it take to rebuild the configuration if we've lost the puppet DB and a crazy job deletes all monitoring items' scenario.
First guess was 'cluster out of sync' so we rebuilt the cluster and cleared the DB. Since 2.6 the cluster is stable and now - well, that had to be another issue....
Your Environment
icinga2 daemon -C
):The text was updated successfully, but these errors were encountered: