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'
24.3.9 Upgrade Automation
Additional {{ }} in one of the MM yml files
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 }}"