I am attempting to use UA to upgrade my production environment from 24.3.13 to 25.4.10 and the spectrum pre-flight failed with the following error:
Failure (/tmp/netopsInstall.MTPHbWhKvr/spectrumAnsiblePreflightOutput.txt)
Task failed: The test plugin 'ansible.builtin.version' failed: Version comparison failed: '<' not supported between instances of 'int' and 'str'
When I look back through the output, I see this:
TASK [spectrum : Debug non_root_installation value] ****************************
Thursday 27 August 2026 01:08:47 +0000 (0:00:00.250) 0:05:32.085 *******
[WARNING]: Encountered 1 template error.
error 1 - 'spectrum_owner' is undefined
Origin: /opt/netops-deployment-tools-package-25.4.10-RELEASE/roles/spectrum/tasks/set-spectrum-path.yml:143:21
141 - (spectrum_group is undefined) or (spectrum_group is string and spectrum_group | length == 0)
142 block:
143 - name: Get the group name of the {{ spectrum_owner }}
^ column 21
If I scroll up further in the log I can see it looks like it is looking at the wrong install directory for Spectrum:
TASK [spectrum : Read Spectrum installation owner from /opt/SPECTRUM/spectrum80.env file] ***
Thursday 27 August 2026 01:08:43 +0000 (0:00:00.482) 0:05:27.780 *******
skipping: [xxx.xxxx.xxxxx.xxxx]
skipping: [xxx.xxxx.xxxxx.xxx]
I can also confirm in the YAML for this task that it is looking at the wrong directory:
- name: Read Spectrum installation owner from /opt/SPECTRUM/spectrum80.env file
ansible.builtin.shell: grep SPECOWNER /opt/SPECTRUM/spectrum80.env | grep -v grep | awk -F'=' '{print $2}'
UA upgrade from 24.3.13 to 25.4.10
This issue is being addressed in DE211530
Workaround: