-
Notifications
You must be signed in to change notification settings - Fork 287
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
Zabbix 5.4 template import fails with Invalid parameter "/1/uuid" #451
Comments
Nice! This is it! I cannot actually believe they have silently changed ids to uuids without noting anything in the changelog! Working with Zabbix API is a real pleasure sometimes :) This is reason why any template imports fail. We are actually trying to create new template with random assigned uuid when one already exists under different uuid, thus the error AlreadyExists. |
@D3DeFi it was in both changelog |
Ok, my bad. Usually, when first reports start to pop up, we tend to look here, since we are working with API directly: So in a sense, it is an undocumented change from our point of view. It is also questionable if breaking changes like this should at all be a part of the minor releases. This collection definitely struggles to even keep up with older releases that haven't yet been fully integrated to our modules (5.4.0), there is no way we can prepare for future releases (6.0) in advance. I've noticed that Zabbix tends to abuse X.4.Z releases to somehow beta test next X release and changes are happening very quickly in that time window with each Z. Migrating modules from 5.2 to 5.4 is usually more work than from 5.4 to 6.0. At least it was like that with 4.4 release. Anyway, this issue still needs some notice and I barely manage to do basic maintenance over the repository. There used to be 2 of us working on modules, but now it is like 10% of that, so please if you have time to look at this, feel free. I will be happy to review & merge. |
The problem was that I generated UUIDv5, while zabbix expects UUIDv4. After changing to UUIDv4 I was able to import template. |
Using community.zabbix 1.4.0, zabbix 5.4.4. After I deleted existing template (reported in issue #449), when trying to import a template, I get:
I enabled debug logging in python3-zabbix-api-0.5.4 module by doing:
But I still do not see where Invalid parameter "/1/uuid" comes from, I do not see anything passed as "/1/uuid" anywhere.
The text was updated successfully, but these errors were encountered: