ceph-ansible as non-root user

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

 



Hi all,

 

We tried to deploy a new CEPH cluster using latest ceph-ansible, run as an non-root user (e.g. ansible), and got following error during gathering facts:

 

---------- cut here ----------

TASK [ceph-facts : create a local fetch directory if it does not exist] ********

Tuesday 23 April 2019  09:42:30 +0800 (0:00:01.155)       0:02:03.781 *********

fatal: [mon1.mydomain -> localhost]: FAILED! => changed=false

  module_stderr: |-

    Sorry, try again.

    [sudo via ansible, key=xxxxxxxxxxxxxxxxxxxxxx] password: Sorry, try again.

    [sudo via ansible, key=xxxxxxxxxxxxxxxxxxxxxx] password: sudo: 3 incorrect password attempts

  module_stdout: ''

  msg: |-

    MODULE FAILURE

    See stdout/stderr for the exact error

  rc: 1

---------- cut here ----------

 

However, it’s okay if running as root user on the admin server. 
We tried to setup CEPH cluster sometime last user using similar method and there was no problem to deploy as non-root user.  

Did we miss anything or if there is change in deployment requirement?  

 

We’re using ansible 2.7.10.

 

Thanks a lot.

/st wong

_______________________________________________
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