-
Notifications
You must be signed in to change notification settings - Fork 406
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
Collection confluent.platform 7.6.1 filters.py file differs from the GitHub version #1719
Comments
why do you need to install from ansible galaxy and then git clone as well? Adding to this, please check that you're cloning the correct branch, it might be that you are cloning master branch, which has more arguments for this python function compared to 7.6.1 |
we're experiencing a similar issue with version 7.6.2. Playbook is failing with |
hey @flisak-robert , could you please add the steps and commands that you followed to run into this behaviour? Also, could you please share the git branch that you are using? |
I have a fork of this repository and currently I'm version at
|
we have added 2 new arguments in listener_properties 7.6.2. You might be running into that. You might run into issues if you're using custom playbooks on top of cp-ansible playbooks which are overwriting listener_properties somewhere |
File
filters.py
used for definition of custom filters is different in collection.tar
file from the version available via git. This causes issues when running playbook. Namely construction ofkafka_broker_final_properties
or any task whereconfluent.platform.listener_properties()
filter is called stops with error, due to different number of input variables.The error when running specific tasks with this filter being used (only part of the output):
To Reproduce
Expected behaviour
No errors should occur.
Logs
See above
Environment (please complete the following information):
Debian 12.6.
ansible [core 2.14.3]
FIX:
Just replace the filters.py from plugins/filter/filters.py in the collection firectory. In my case
cp plugins/filter/filters.py /home/ansible-user/.ansible/collections/ansible_collections/confluent/platform/plugins/filter/filters.py
Additional context
I have not performed the whole instalation, just took over after my colleague, when things went in the wrong direction. So maybe there where some extra steps in the install procedure done. From what I tell, this specific file is definitely differrent and copying the GIT version into collection dir fixes the situation.
Thank you for the investigation
r.
The text was updated successfully, but these errors were encountered: