Closed w1ll-i-code closed 2 months ago
@yhabteab Is this available in the latest Ubuntu release? I still have the same issue.
systemcl restart icinga2
is the only workaround.
Hi, the fix for this is going to be available with the next Icinga 2 release, but in the meantime you can use the snapshot packages if you want. They are based on the master branch and are also available for the latest Ubuntu release as well.
Describe the bug
If you create an object over the API
PUT /v1/objects/hosts/api-host
, but the validation fails, the object should not be created. However, when you try to create it again in a second requests, icinga2 tells you that the object already exists, until icinga2 is restarted.To Reproduce
Expected behavior
I expect the object to not be present if it was not created, so I can try creating it again without having to restart icinga2
Your Environment