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

Add uuids to Director Basket - Director Basket needs to be imported twice #425

Open
Donien opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@Donien
Copy link

Donien commented Nov 22, 2024

With Icinga Director 1.11.2 (no other version tested yet) I currently need to import the Director Basket twice.

After the first import (restore to database) all commands are marked with changes (when looking at the exact same snapshot of the Basket).
All changes are about Icinga Director Datafield IDs (change from "datafield_id": "(UNKNOWN)" to e.g. "datafield_id": "89").

After a second import of the exact same snapshot all is well and good, nothing is marked with changes.
However, with the second import all Datafields are duplicated while only one (of each pair) is used in a command.
This effectively clutters the Director config with unnecessary variables.


Proposed solution

Add uuid to at least each Datafield. This way the Icinga Director knows where a certain Datafield belongs or rather if it is already present.

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

1 participant