Data Repository version assert failed during DX NetOps Upgrade Automation
search cancel

Data Repository version assert failed during DX NetOps Upgrade Automation

book

Article ID: 449895

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

When running the DX NetOps Upgrade Automation pre-flight check, the process fails during the Data Repository (DR) version assertion task. This occurs even if the user has appropriate sudo permissions and Vertica is correctly installed.

The following error is observed in the automation output:

TASK [dr : Version assert] *****************************************************
fatal: [hostname]: FAILED! => {
"assertion": "rpm_vertica | length > 0",
"changed": false,
"evaluated_to": false,
"msg": "Assertion failed"
}

Environment

  • DX NetOps Performance Management
  • DX NetOps Upgrade Automation (Ansible-based)
  • Target Version: 25.4.9

Cause

The Ansible task fails to correctly evaluate the Vertica RPM version because the underlying command returns empty lines in the output, causing the length > 0 assertion to fail. 

Resolution

This issue is Targeted to be fixed in a future release. To be notified when the fix is available, please .

Workaround

Update the dr_install.sh script (or the corresponding Ansible playbook variable) to filter out empty lines from the RPM query results.

Change the variable definition from: rpm_vertica: "{{ rpm_qall.stdout_lines | first | default('') }}"

To: rpm_vertica: "{{ rpm_qall.stdout_lines | reject('equalto', '') | list | first | default('') }}"