Hi.. We are facing the below error while update minor version from 18.2.4 to 18.2.6 using rolling-update playbook.
TASK [ceph-facts : Set_fact _monitor_addresses - ipv4] ************************************************************************************************************************************************************ task path: /root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml:2 fatal: [ceph-mont1]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-mont2]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-mont3]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-mont4]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-osdt1]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-osdt2]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-mdst1]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here fatal: [ceph-mdst2]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network'. 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'public_network' The error appears to be in '/root/ceph-ansible/roles/ceph-facts/tasks/set_monitor_address.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Set_fact _monitor_addresses - ipv4 ^ here _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io