Data Aggregator Upgrade Failed using DX NetOps Upgrade Automation
search cancel

Data Aggregator Upgrade Failed using DX NetOps Upgrade Automation

book

Article ID: 428653

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

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"

Environment

DX NetOps Upgrade Automation 25.4.3

Cause

Code Defect

Resolution

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.

Additional Information

This issue has been fixed in 25.4.4 release.