Modern Ansible versions fail to provision a cluster with monitoring
m-bull opened this issue · comments
Matt Anson commented
Using via https://github.com/stackhpc/caas-slurm-appliance.
Ansible version 7.3.0 (core 2.14.3) fails like this:
TASK [cloudalchemy.node_exporter : Gather currently installed node_exporter version (if any)] *********************************************************************************************************************
fatal: [caas-ci-control-0]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
fatal: [caas-ci-login-0]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
fatal: [caas-ci-compute-small-0]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
fatal: [caas-ci-compute-tiny-0]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
Installing Ansible 6.6.0 (core 2.13.9) allows provision to proceed.
Mariusz Karpiarz commented
The "warn" parameter of the command
module has been removed in Ansible 2.14:
ansible/ansible#70504
This commit addressed this issue:
cfc57db
Steve Brasier commented
This was fixed in #286