Skip to content

ArgoCD installation fails due to checksum variable mismatch in Kubespray v2.28.0 #12466

@SuharaDaigo

Description

@SuharaDaigo

What happened?

When trying to install Argo CD by running the playbook with the argocd tag, the task fails. The error occurs in the Download_file | Download item task within the download role, which is included by the argocd role.

What did you expect to happen?

The Argo CD installation should complete successfully without any errors.

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

Use Kubespray v2.28.0.
Enable Argo CD in your inventory (argocd_enabled: true).

OS

Ubuntu 24

Version of Ansible

2.16.14

Version of Python

3.12.3

Version of Kubespray (commit)

2.28.0

Network plugin used

flannel

Full inventory with variables

[all]
master1 ansible_host=192.168.64.2
worker1 ansible_host=192.168.64.3
worker2 ansible_host=192.168.64.4

[kube_control_plane]
master1

[etcd]
master1

[kube_node]
worker1
worker2

[k8s_cluster:children]
kube_control_plane
kube_node

Command used to invoke ansible

ansible-playbook -i inventory/hosts playbooks/mycluster.yml -b

Output of ansible run

TASK [kubernetes_sigs.kubespray.kubernetes-apps/argocd : Download_file | Download item] ***********
fatal: [master1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'checksum'. 'dict object' has no attribute 'checksum'\n\nThe error appears to be in '/home/ubuntu/.ansible/collections/ansible_collections/kubernetes_sigs/kubespray/roles/download/tasks/download_file.yml': line 59, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # This task will avoid logging it's parameters to not leak environment passwords in the log\n - name: Download_file | Download item\n ^ here\n"}

Anything else we need to know

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ubuntu 24kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions