Skip to content
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

Sync rule stuck in loop of creating / deleting vars #34

Closed
jseifeddine opened this issue May 28, 2024 · 2 comments
Closed

Sync rule stuck in loop of creating / deleting vars #34

jseifeddine opened this issue May 28, 2024 · 2 comments

Comments

@jseifeddine
Copy link
Contributor

jseifeddine commented May 28, 2024

So... we a sync rule

Screenshot 2024-05-28 at 10 59 17 PM

It creates the object fine as expected, happy days.

Issue:

Subsequent syncs will remove vars.tags

image

If you sync once again director shows modifications, even though it doesn't show what changed ( perhaps a clue to root cause of the issue )

Screenshot 2024-05-28 at 10 53 31 PM

This loop continues indefinitely, every time the sync rule runs

Thank you for your contributions 🥇

@sol1-matt
Copy link
Member

This is a director/config bug that occurs when when the value of icinga_var is null, it can be worked around using a filter.
However the filter also has a issue (#35) when the value of icinga_var is a object which is the most likely value other than null.

There needs to be a separate var so filter can determine what the value of icinga_var is.

@sol1-matt
Copy link
Member

Solution added to v3.6.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants