Description of problem: Cluster configuration is failing in task TASK [ceph-mon : ipv4 - force peer addition as potential bootstrap peer for cluster bringup - monitor_interface] saying 'ansible.vars.hostvars.HostVarsVars object' has no attribute u'ansible_enp1s0f0' Version-Release number of selected component (if applicable): ceph-ansible-3.2.49-1.el7cp.noarch How reproducible: Always (2/2) Steps to Reproduce: 1. follow docs to configure a cluster Actual results: fatal: [argo010]: FAILED! => { "msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute u'ansible_enp1s0f0'\n\nThe error appears to have been in '/usr/share/ceph-ansible/roles/ceph-mon/tasks/docker/main.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: ipv4 - force peer addition as potential bootstrap peer for cluster bringup - monitor_interface\n ^ here\n" } Expected results: Cluster must get configured successfully Additional info: Issue was hit when one of the node had different n/w interface name than other two
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Red Hat Ceph Storage 3.3 Security and Bug Fix Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1518