Re: ceph-deploy depends on sudo

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

 



Le 06/09/2013 17:37, Alfredo Deza a écrit :
On Fri, Sep 6, 2013 at 11:17 AM, Gilles Mocellin
<gilles.mocellin@xxxxxxxxxxxxxx> wrote:
Perhaps it's worth a bug report, or some changes in ceph-deploy :

I've just deployed some test clusters with ceph-deploy on Debian Wheezy.
I had errors with ceph-deploy, when the destination node does not have sudo
installed.
Even if a run it as root, and so connect to the node as root.
Funny you mention this, as this was just fixed today (see:
http://tracker.ceph.com/issues/6104) and should get released soon.

It will basically not use sudo on the remote host if you are
connecting as the root user.

Yes ! cool.
[...]

Do you have the output of the error from the machine that did not have sudo?

Strange, I removed sudo and now I have a clear message, not a stacktrace anymore.
Have I dreamed ?

root@vmceph1:~# ceph-deploy -n osd create vmceph2:vdb
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks vmceph2:/dev/vdb:
[ceph_deploy][ERROR ] ClientInitException:
  [remote] bash: sudo : commande introuvable

In english : "bash: sudo : command not found"

root@vmceph1:~# ceph-deploy --version
1.2.3

Anyway, thanks !

_______________________________________________
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