-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Description
What happened?
Gluster compute nodes cannot be built due to variable mishandling.
If only image_name is set in the cluster.tfvars, the image_id is retrieved, and is set as the image_name for the compute module. This also happens when image_gfs is set with a valid image name. Even if only image_gfs_uuid is set with a valid image_id, the compute image_name is set with the corresponding image_id value.
Since this is blocking my work on #12901 I will work on resolving this first.
What did you expect to happen?
The correct image_id compute module variable is passed through for Gluster compute nodes.
How can we reproduce it (as minimally and precisely as possible)?
OS
AlmaLinux 9
Version of Ansible
ansible [core 2.17.14]
config file = None
configured module search path = ['/home/josh/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/josh/dev/hauptj/kubespray/venv/lib64/python3.14/site-packages/ansible
ansible collection location = /home/josh/.ansible/collections:/usr/share/ansible/collections
executable location = /home/josh/dev/hauptj/kubespray/venv/bin/ansible
python version = 3.14.2 (main, Dec 5 2025, 00:00:00) [GCC 15.2.1 20251111 (Red Hat 15.2.1-4)] (/home/josh/dev/hauptj/kubespray/venv/bin/python)
jinja version = 3.1.6
libyaml = True
Version of Python
Python 3.14.2
Version of Kubespray (commit)
Network plugin used
calico
Full inventory with variables
N/A
Command used to invoke ansible
N/A
Output of ansible run
N/A
Anything else we need to know
No response