Created attachment 1674950 [details] group_vars, inventory and ansible purge logs Description of problem: infrastructure-playbooks/purge-cluster.yml fails for rgw with error as [1]. [1]fatal: [magna126]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'instance_name' The error appears to be in '/usr/share/ceph-ansible/infrastructure-playbooks/purge-cluster.yml': line 306, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: stop ceph rgws with systemd ^ here Version-Release number of selected component (if applicable): ceph-ansible-4.0.17-1.el8.noarch ansible-2.9.6-1.el8ae.noarch ceph version 14.2.8-27.el8cp How reproducible: 2/2 Steps to Reproduce: 1. Deploy a cluster with rgw host 2. Run "ansible-playbook infrastructure-playbooks/purge-cluster.yml -vvvv" Actual results: The purge failed with [1]. Expected results: The purge should be successful. Additional info:
*** Bug 1821135 has been marked as a duplicate of this bug. ***
*** Bug 1866519 has been marked as a duplicate of this bug. ***