Upgrade Automation 24.3.9 preflight fails for Mediation Manager
search cancel

Upgrade Automation 24.3.9 preflight fails for Mediation Manager

book

Article ID: 397427

calendar_today

Updated On:

Products

Network Observability CA Mediation Manager CA Performance Management

Issue/Introduction

Failure seen during preflight:

 

Failure during preflight:

TASK [camm : Delete pre_and_post_upgrade_camm_availability_check.sh file] ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
task path: /opt/netops-deployment-tools-package-24.3.9-RELEASE/roles/camm/tasks/03.prepare_properties_installer.yml:28
Read vars_file '../variables.yml'
Read vars_file '../variables.yml'
Read vars_file '../variables.yml'
Read vars_file '../variables.yml'
fatal: [<Portal Hostname>]: FAILED! => {
    "msg": "'camm' is undefined. 'camm' is undefined"
}
Read vars_file '../variables.yml'
fatal: [<DC Hostname>]: FAILED! => {
    "msg": "'camm' is undefined. 'camm' is undefined"
}
Read vars_file '../variables.yml'

Environment

24.3.9 Upgrade Automation

Cause

Additional {{ }} in one of the MM yml files

Resolution

Workaround:

In the container, modify /opt/netops-deployment-tools-package-24.3.9-RELEASE/roles/camm/tasks/03.prepare_properties_installer.yml:

always:
    - name: Delete {{ pre_and_post_upgrade_camm_availability_check }} file
      ansible.builtin.file:
        state: absent
        path: "{{ remote_installer_dir }}/{{ item }}"
      with_items:
        - "{{ pre_upgrade_discover_camm_components }}"
      - "{{ camm.properties }}"

 

The last line should be    

      - "camm.properties" 

 

and not

      - "{{ camm.properties }}"