While using DX NetOps Upgrade Automation to upgrade the Data Aggregator, the upgrade is failing on the below task:
Task path: /opt/netops-deployment-tools-package-25.4.3-RELEASE/roles/da/tasks/main.yml:16
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/vars/../variables.yml"
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/../variables.yml"
Read vars_file '../variables.yml'
Read vars_file '{{ project_root_directory }}/runtime-vars.yml'
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/vars/../variables.yml"
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/../variables.yml"
Read vars_file '../variables.yml'
Read vars_file '{{ project_root_directory }}/runtime-vars.yml'
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/vars/../variables.yml"
looking for "../variables.yml" at "/opt/netops-deployment-tools-package-25.4.3-RELEASE/services/../variables.yml"
Read vars_file '../variables.yml'
Read vars_file '{{ project_root_directory }}/runtime-vars.yml'
fatal: [da-hostname]: FAILED! => {
"msg": "The conditional check 'da_version_3bits_from_yaml is version(da_version_from_registry, '<=')' failed. The error was: error while evaluating conditional (da_version_3bits_from_yaml is version(da_version_from_registry, '<=')): 'da_version_from_registry' is undefined. 'da_version_from_registry' is undefined\n\nThe error appears to be in '/opt/netops-deployment-tools-package-25.4.3-RELEASE/roles/da/tasks/main.yml': line 16, column 11, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Set value of skip_da_upgrade to true (if required)\n ^ here\n"
DX NetOps Upgrade Automation 25.4.3
Code Defect
The workaround for the DX NetOps 25.4.3 release is as follows:
Delete line 20 { - not ft_da | default(False) } in the file - ~/opt/netops-deployment-tools-package-25.4.3-RELEASE/roles/da/tasks/main.yml
Delete line 95 { - ft_da | default(False) } in the file - ~/opt/netops-deployment-tools-package-25.4.3-RELEASE/roles/common/tasks/get-da-registry-info.yml
Then re-run the upgrade.
This issue has been fixed in 25.4.4 release.