REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
In response to [this](https://github.com/kubernetes-sigs/kubespray/issues/10897#issuecomment-1930803870):
>/close
Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
What happened?
getting below error while using the latest kubespray v2.24.0 to install k8s cluster TASK [container-engine/runc : Download_file | Starting download of file] *** fatal: [...] FAILED! => {.... 'tag': '{{ metallb_version }}' 'sha256': '{{ metallb_speaker_digest_checksum|default(None) }}' 'groups': ['kube_control_plane']} 'metallb_controller': {'enabled': '{{ metallb_enabled }}' 'container': True 'repo': '{{ metallb_controller_image_repo }}' 'tag': '{{ metallb_version }}' 'sha256': '{{ metallb_controller_digest_checksum|default(None) }}' 'groups': ['kube_control_plane']}}: {{ etcd_supported_versions[kube_major_version] }}: 'dict object' has no attribute 'v1.28'. 'dict object' has no attribute 'v1.28'. {{ etcd_supported_versions[kube_major_version] }}: 'dict object' has no attribute 'v1.28'. 'dict object' has no attribute 'v1.28'\n\nThe error appears to be in '/opt/manager/resources/kubernetes_b824j5/kubespray/roles/download/tasks/download_file.yml': line 10 column 5 but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Download_file | Starting download of file\n ^ here\n"}
What did you expect to happen?
no error
How can we reproduce it (as minimally and precisely as possible)?
Running - ansible-playbook ....
OS
cat /etc/os-release
NAME="Red Hat Enterprise Linux" VERSION="8.8 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.8" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.8 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8" BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.8 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
Version of Ansible
ansible==8.5.0 cryptography==41.0.4 jinja2==3.1.2 jmespath==1.0.1 MarkupSafe==2.1.3 netaddr==0.9.0 pbr==5.11.1 ruamel.yaml==0.17.35 ruamel.yaml.clib==0.2.8
Version of Python
python3.11
Version of Kubespray (commit)
$ git rev-parse --short HEAD c4346e590
Network plugin used
calico
Full inventory with variables
xx
Command used to invoke ansible
ansible-playbook
Output of ansible run
getting below error while using the latest kubespray v2.24.0 to install k8s cluster TASK [container-engine/runc : Download_file | Starting download of file] *** fatal: [...] FAILED! => {.... {{ etcd_supported_versions[kube_major_version] }}: 'dict object' has no attribute 'v1.28' }
Anything else we need to know
No response