RHCS upgrade from 4 to 5 is failing with conditional check 'cephadm_mgmt_network is ansible.utils.ipv4'
Issue
- RHCS upgrade from 4.3 to 5.3z3 is failing with conditional check
cephadm_mgmt_network is ansible.utils.ipv4
TASK [manage nodes with cephadm - ipv4] ***************************************************************************************************************************************************************************
Thursday 01 June 2023 11:29:58 +0530 (0:00:01.675) 0:02:44.604 *********
fatal: [ceph80 -> {{ groups[mon_group_name][0] }}]: FAILED! =>
msg: |-
The conditional check 'cephadm_mgmt_network is ansible.utils.ipv4' failed. The error was: template error while templating string: no test named 'ansible.utils.ipv4'. String: {% if cephadm_mgmt_network is ansible.utils.ipv4 %} True {% else %} False {% endif %}
The error appears to be in '/usr/share/ceph-ansible/infrastructure-playbooks/cephadm-adopt.yml': line 371, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: manage nodes with cephadm - ipv4
^ here
cephadm-adopt.ymlplaybook fails at taskmanage nodes with cephadm - ipv4
Environment
- Red Hat Ceph Storage 5.3z3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.