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

Running upgrade-cluster.yml with --limit does not check ansible version #10831

Closed
michaelkebe opened this issue Jan 23, 2024 · 0 comments · Fixed by #10908
Closed

Running upgrade-cluster.yml with --limit does not check ansible version #10831

michaelkebe opened this issue Jan 23, 2024 · 0 comments · Fixed by #10908
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@michaelkebe
Copy link
Contributor

michaelkebe commented Jan 23, 2024

What happened?

The version check was not run, when running

ansible-playbook upgrade-cluster.yml --limit some.host.com ...

This is because of:

What did you expect to happen?

The version check found in playbooks/ansible_version.yml should be run.

How can we reproduce it (as minimally and precisely as possible)?

Run

ansible-playbook upgrade-cluster.yml --limit some.host.com ...

OS

Linux 5.15.0-75-generic x86_64
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Version of Ansible

ansible [core 2.16.2]
config file = /home/XXX/kubespray/ansible.cfg
configured module search path = ['/home/XXX/kubespray/library']
ansible python module location = /home/XXX/.local/lib/python3.10/site-packages/ansible
ansible collection location = /home/XXX/.ansible/collections:/usr/share/ansible/collections
executable location = /home/XXX/.local/bin/ansible
python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
jinja version = 3.1.2
libyaml = True

Version of Python

Python 3.10.12

Version of Kubespray (commit)

64447e7

Network plugin used

calico

Full inventory with variables

No response

Command used to invoke ansible

No response

Output of ansible run

No response

Anything else we need to know

At least the documentation should contain a warning about it.

@michaelkebe michaelkebe added the kind/bug Categorizes issue or PR as related to a bug. label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant