[ceph-users] [ceph-ansible]Purging cluster using ceph-ansible stable 3.1/3.2
mark at protectchildren.ca
Tue Oct 23 06:51:10 PDT 2018
On Mon, 2018-10-22 at 20:05 -0400, Cody wrote:
> I tried to purge a ceph cluster using infrastructure-playbooks/purge-
> cluster.yml from stable 3.1 and stable 3.2 branches, but kept getting the
> following error immediately:
> ERROR! no action detected in task. This often indicates a misspelled module
> name, or incorrect module path.
> The error appears to have been in '/root/ceph-ansible/infrastructure-
> playbooks/purge-cluster.yml': line 353, column 5, but may
> be elsewhere in the file depending on the exact syntax problem.
> The offending line appears to be:
> - name: zap and destroy osds created by ceph-volume with lvm_volumes
> ^ here
That's Ansible's way of saying "the module referenced in this task doesn't
exist". In this case it can't find the ceph_volume module, which is packaged
with the ceph-ansible distribution. It should find it if you're running Ansible
from the /root/ceph-ansible directory.
Try running "ansible --version" and check what's shown for "config file" and
"configured module search path". You should have /root/ceph-ansible/library
on the module search path.
More information about the ceph-users