You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the kubernetes_sigs.kubespray.cluster playbook on the latest Kubespray (v2.24.0), I found a piece of the playbook which still required the use of the deprecated ipaddr method.
What did you expect to happen?
Run the ansible playbook without needing to install ansible.netcommon for the deprecated ipaddr method.
How can we reproduce it (as minimally and precisely as possible)?
Download the latest Kubespray and attempt to run the kubernetes_sigs.kubespray.cluster playbook without having ansible.netcommon installed.
OS
N/A
Version of Ansible
2.16.2
Version of Python
3.11.7
Version of Kubespray (commit)
v2.24.0
Network plugin used
calico
Full inventory with variables
No response
Command used to invoke ansible
No response
Output of ansible run
TASK [Check that python netaddr is installed] **************************************************************************************************************************************************************
[DEPRECATION WARNING]: Use 'ansible.utils.ipaddr' module instead. This feature will be removed from ansible.netcommon in a release after 2024-01-01. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
What happened?
When running the
kubernetes_sigs.kubespray.cluster
playbook on the latest Kubespray (v2.24.0), I found a piece of the playbook which still required the use of the deprecatedipaddr
method.What did you expect to happen?
Run the ansible playbook without needing to install
ansible.netcommon
for the deprecatedipaddr
method.How can we reproduce it (as minimally and precisely as possible)?
Download the latest Kubespray and attempt to run the
kubernetes_sigs.kubespray.cluster
playbook without havingansible.netcommon
installed.OS
N/A
Version of Ansible
2.16.2
Version of Python
3.11.7
Version of Kubespray (commit)
v2.24.0
Network plugin used
calico
Full inventory with variables
No response
Command used to invoke ansible
No response
Output of ansible run
Anything else we need to know
This line (https://github.com/kubernetes-sigs/kubespray/blob/master/playbooks/ansible_version.yml#L24) should be changed to use
ansible.utils.ipaddr
.The text was updated successfully, but these errors were encountered: