Skip to content
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

[forward compatibility] new ansible version breaks cleanup task #352

Open
tarzanek opened this issue Mar 7, 2024 · 1 comment
Open

[forward compatibility] new ansible version breaks cleanup task #352

tarzanek opened this issue Mar 7, 2024 · 1 comment
Assignees

Comments

@tarzanek
Copy link
Collaborator

tarzanek commented Mar 7, 2024

with

 ansible --version
ansible [core 2.16.3]

that is installed on Ubuntu 22

https://github.com/scylladb/scylla-ansible-roles/blob/master/ansible-scylla-node/tasks/adjust_keyspace_replication.yml#L46
cleanup task
will fail with:

22:25:20  TASK [ansible-scylla-node : Run cleanup] ***************************************
22:25:20  �[0;31mAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'display_ok_hosts'�[0m
22:25:20  �[0;31mfatal: [10.2.7.158]: FAILED! => {"msg": "Unexpected failure during module execution: 'display_ok_hosts'", "stdout": ""}�[0m
22:25:20  �[0;31mAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'display_ok_hosts'�[0m

while with

sudo pip3 install --upgrade ansible==6.7.0

so ansible around 2.13.7 above task works

so our async library needs upgrade for newer ansible

@vladzcloudius
Copy link
Collaborator

@igorribeiroduarte let's try to understand what latest Ansible is not happy about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants