-
Notifications
You must be signed in to change notification settings - Fork 204
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
Basket snapshots doesn't work after upgrade to 1.10.x #2644
Comments
I'm unable to reproduce this, tried to snapshot a couple of baskets, works fine over here. Could you please create your snapshot on CLI with |
What kind of objects do you have in your basket? I'm able to reproduce this, when I add "Basket Definitions" to my basket. Is this the case for your setup? And if so, could you please test whether the error disappears, when you remove them from the basket? |
NB: as the error message is not very helpful, when tracking down such errors, I pushed a related improvement with #2646. The error would now look as follows: |
Issue has been fixed and cherry-picked to support/1.10, will be released with v1.10.2. This should have affected only Baskets containing Baskets. As a workaround, remove Baskets from your Basket. As a quick-fix, please apply this little patch. Thanks for reporting this! |
Hi Tom, do you need any further information or can I see this as fixed. You wrote in short time so many comments. :-) |
Hi @stevie-sy, I'm pretty confident to have caught the root cause of this issue. Did your basket contain Basket definitions? You could apply the patch if you want, and let me know, whether it helped to fix your problem - it's just a single line. In case similar problems occurs again, v1.10.2 will provide better error handling, being able to show more related details. Cheers, |
Thanks for testing and letting me know! |
Since upgrading to 1.10.x creating snapshots with the basket doesn't work anymore. It doesn't matter in the UI or with the CLI.
Error in the UI:
error running the CLI:
ERROR: Icinga\Module\Director\Exception\JsonEncodeException in /usr/share/icingaweb2/modules/director/library/Director/Exception/JsonException.php:12 with message: Malformed UTF-8 characters, possibly incorrectly encoded
Your Environment
icinga2 --version
): 2.13.5The text was updated successfully, but these errors were encountered: