you are right!
thank you!
sz_cuitao(a)163.com
From: Anthony D'Atri
Date: 2020-04-06 02:39
To: Brent Kennedy
CC: sz_cuitao; ceph-users
Subject: [ceph-users] Re: Cann't create ceph cluster
Check the output carefully, the OP was using a 5 year old version of ceph-deploy.
Updating brought success, presumably with Nautilus.
On Apr 5, 2020, at 11:06 AM, Brent Kennedy
<bkennedy(a)cfl.rr.com> wrote:
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(a)163.com <sz_cuitao(a)163.com>
Sent: Sunday, April 5, 2020 2:36 AM
To: ceph-users <ceph-users(a)ceph.io>
Subject: [ceph-users] 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(a)163.com
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io To unsubscribe send an email
to ceph-users-leave(a)ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io