If you are deploying the octopus release, it cant be installed on CentOS 7 ( must use centOS 8 currently ). Cant quite tell from that short log snippet. -Brent -----Original Message----- From: sz_cuitao@xxxxxxx <sz_cuitao@xxxxxxx> Sent: Sunday, April 5, 2020 2:36 AM To: ceph-users <ceph-users@xxxxxxx> Subject: Cann't create ceph cluster hi! why can not create custer using ceph-deploy? Please give me some advice,thanks! [root@cadmin ~]# cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) [root@cadmin ~]# [root@cadmin ~]# python --version Python 2.7.5 [root@cadmin ~]# [root@cadmin ~]# [root@cadmin ~]# su - cephuser Last login: Sat Apr 4 23:44:23 CST 2020 on pts/0 [cephuser@cadmin ~]$ [cephuser@cadmin ~]$ cd cluster/ [cephuser@cadmin cluster]$ [cephuser@cadmin cluster]$ ceph-deploy new cadmin [ceph_deploy.conf][DEBUG ] found configuration file at: /home/cephuser/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.25): /bin/ceph-deploy new cadmin [ceph_deploy.new][DEBUG ] Creating new cluster named ceph [ceph_deploy.new][INFO ] making sure passwordless SSH succeeds [ceph_deploy][ERROR ] Traceback (most recent call last): [ceph_deploy][ERROR ] File "/usr/lib/python2.7/site-packages/ceph_deploy/util/decorators.py", line 69, in newfunc [ceph_deploy][ERROR ] return f(*a, **kw) [ceph_deploy][ERROR ] File "/usr/lib/python2.7/site-packages/ceph_deploy/cli.py", line 162, in _main [ceph_deploy][ERROR ] return args.func(args) [ceph_deploy][ERROR ] File "/usr/lib/python2.7/site-packages/ceph_deploy/new.py", line 141, in new [ceph_deploy][ERROR ] ssh_copy_keys(host, args.username) [ceph_deploy][ERROR ] File "/usr/lib/python2.7/site-packages/ceph_deploy/new.py", line 35, in ssh_copy_keys [ceph_deploy][ERROR ] if ssh.can_connect_passwordless(hostname): [ceph_deploy][ERROR ] File "/usr/lib/python2.7/site-packages/ceph_deploy/util/ssh.py", line 15, in can_connect_passwordless [ceph_deploy][ERROR ] if not remoto.connection.needs_ssh(hostname): [ceph_deploy][ERROR ] AttributeError: 'module' object has no attribute 'needs_ssh' [ceph_deploy][ERROR ] sz_cuitao@xxxxxxx _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx