-
Notifications
You must be signed in to change notification settings - Fork 290
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_Host Module Failed #1355
Comments
I confirm this issue. It appeared with Zabbix Frontend 7.0.1. Ansible code:
Error (reformatted):
Seems the cause is the fix: "The "error" field must be read-only, but it is possible to set a value for this field when creating a network discovery rule" that added this check: https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/3d5a48d327ec01a4c8e58460873297f9b56f576e#ui/include/classes/api/services/CHostInterface.php:
We have a bug and for an unknown reason we are passing in API call extra read-only fields: Workaround: for any
In this case no extra parameters will be passed. |
yesterday zabbix 7.0.2 was released. the bug ist closed with this version on zabbix site |
I've tested versions 7.0.1 and 7.0.2, both have this issue, additional validation added in 7.0.1. |
I spent some time looking around yesterday and don't see where those values are even being added into the API call. Unfortunately @BGmot is a lot better with the module stuff then me. |
I understood how to resolve, so I wrote commit to fix. |
I assigned it to him since he's the one that normally does it....Don't think he's even seen it yet so I'm sure no offense taken. |
ah ok. thanks for the workaround with the interface ...this works for me |
SUMMARY
Not sure what happened but at some point in the last two weeks the host module started breaking. The last plugin-integration test to run (https://github.com/ansible-collections/community.zabbix/actions/runs/9933607178/job/28017631838) ran 100% all the way through (NOTE: The failure there now is one that I triggered today to see if it still passed like it had previously). @masa-orca discovered this failure with #1353.
Failure read-out:
It looks like Zabbix dropped 7.0.1 in the last week or two but the change doesn't doesn't mention the host API at all so not sure what changed.
ISSUE TYPE
COMPONENT NAME
zabbix_host module on Zabbix 7.0
The text was updated successfully, but these errors were encountered: