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

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.0 #386

Closed
andygrunwald opened this issue Jun 12, 2024 · 4 comments · Fixed by #414
Closed

Comments

@andygrunwald
Copy link
Contributor

During an ansible run, the following warning will be thrown:

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.0

Right now, the runtime information limits it to 2.16.*:

requires_ansible: ">=2.9.0,<=2.16.99"

Do you have any special check/test-suite you run before you enable this collection to work with a new Ansible version?
Otherwise, I can create a PR to support Ansible 2.17.*.
In my setup, it works pretty well so far.

requirements.yml

collections:
  - name: prometheus.prometheus
    version: 0.16.3

Ansible Version

$ ansible --version
ansible [core 2.17.0]
  config file = None
  configured module search path = ['/Users/<user>/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/10.0.1/libexec/lib/python3.12/site-packages/ansible
  ansible collection location = /Users/<user>/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.12.3 (main, Apr  9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)] (/opt/homebrew/Cellar/ansible/10.0.1/libexec/bin/python)
  jinja version = 3.1.4
  libyaml = True
@pablolanchez
Copy link

pablolanchez commented Aug 8, 2024

I am having the same issue but with version 2.17.1
[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.1

ansible --version

ansible [core 2.17.1]
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.11.2 (main, Sep 12 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11)
jinja version = 3.1.4
libyaml = True

@pmiriyev
Copy link

same here:

[WARNING]: Collection prometheus.prometheus does not support Ansible version 2.17.3

@sdejong629
Copy link

We are also looking into upgrading our ansible to this version. Love to hear when the new ansible version will be available

@andygrunwald
Copy link
Contributor Author

FYI: #414

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

Successfully merging a pull request may close this issue.

4 participants