[ceph-users] [ceph-ansible]Purging cluster using ceph-ansible stable 3.1/3.2

Cody codeology.lab at gmail.com
Tue Oct 23 08:22:42 PDT 2018


Hi Mark,

Thank you for pointing out the issue.

The problem is solved after I added "library=
~/.ansible/plugins/modules:/usr/share/ansible/plugins/modules:/root/ceph-ansible/library"
into the /root/ceph-ansible/ansible.cfg file. The "library" key wasn't
there in the first place and the result of running "ansible --version"
from the /root/ceph-ansible directory initially showed the first two
paths only.

Thank you very much.

Best regards,
Cody
On Tue, Oct 23, 2018 at 9:51 AM Mark Johnston <mark at protectchildren.ca> wrote:
>
> 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.
>
>
> Mark


More information about the ceph-users mailing list