Re: ceph-fuse unable to run through Ansible ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"/mnt/cephfs is not a mountpoint" comes from "mountpoint" command (included in Debian init commands), it returns 0 if directory is already a mount point, and 1 if not. It allows me to mount directory only when not already mounted (avoiding errors from ceph-fuse). So command "mount" is running when "mountpoint" returns 1 with this stdout.

Even if I run the mount "by hand" or via Ansible shell module, I get this output :

2015-03-18 11:41:29.662033 7f120a497760 -1 did not load config file, using default settings.
ceph-fuse[30773]: starting ceph client
2015-03-18 11:41:29.671912 7f120a497760 -1 init, newargv = 0x3c07d10 newargc=13
ceph-fuse[30773]: starting fuse

In the case of running "by hand" in a shell via SSH, mount works.

But when it is running via Ansible OR under "screen" command for example, it displays exactly the same output, but mount is not done !! It seems that "ceph-fuse" is killed.


The "daemonize" process of ceph-fuse is very strange.
You can try yourself, forget Ansible, it is not related to it. Test mounting through a script running by "screen" (see my previous post).

On 03/18/2015 11:37 AM, Thomas Foster wrote:

What message is this and why is it saying that on stdout?

stdout": "/mnt/cephfs is not a mountpoint

On Mar 17, 2015 7:41 PM, "Florent B" <florent@xxxxxxxxxxx> wrote:
Hi Thomas,

The problem is : there is no error.
fstab is configured as expected.
and if I run the mount command "by hand" (not via Ansible), it works
with exactely the same command output than through Ansible (I don't have
a ceph.conf file, I put the monitors address directly in mount options
and it works, but not via Ansible).

Yes it is running in order.



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux