Yup, Thanks for the email. I got through the software installation part
But I went into this problem when I try to create.
[root@hdmaster ~]# su - ceph
Last login: Thu Dec 17 14:32:22 PST 2015 on pts/2
[ceph@hdmaster ~]$ ceph-deploy -v mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /bin/ceph-deploy -v mon create-initial
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : True
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] subcommand : create-initial
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x14845a8>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] func : <function mon at 0x147d6e0>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts mon0
[ceph_deploy.mon][DEBUG ] detecting platform for host mon0 ...
[mon0][DEBUG ] connection detected need for sudo
[mon0][DEBUG ] connected to host: mon0
[mon0][DEBUG ] detect platform information from remote host
[mon0][DEBUG ] detect machine type
[mon0][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: CentOS Linux 7.2.1511 Core
[mon0][DEBUG ] determining if provided host has same hostname in remote
[mon0][DEBUG ] get remote short hostname
[mon0][WARNIN] ********************************************************************************
[mon0][WARNIN] provided hostname must match remote hostname
[mon0][WARNIN] provided hostname: mon0
[mon0][WARNIN] remote hostname: hdmaster
[mon0][WARNIN] monitors may not reach quorum and create-keys will not complete
[mon0][WARNIN] ********************************************************************************
[mon0][DEBUG ] deploying mon to mon0
[mon0][DEBUG ] get remote short hostname
[mon0][DEBUG ] remote hostname: hdmaster
[mon0][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[mon0][DEBUG ] create the mon path if it does not exist
[mon0][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-hdmaster/done
[mon0][DEBUG ] create a done file to avoid re-doing the mon deployment
[mon0][DEBUG ] create the init path if it does not exist
[mon0][DEBUG ] locating the `service` executable...
[mon0][INFO ] Running command: sudo /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.hdmaster
[mon0][DEBUG ] === mon.hdmaster ===
[mon0][DEBUG ] Starting Ceph mon.hdmaster on hdmaster...already running
[mon0][INFO ] Running command: sudo systemctl enable ceph
[mon0][WARNIN] ceph.service is not a native service, redirecting to /sbin/chkconfig.
[mon0][WARNIN] Executing /sbin/chkconfig ceph on
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[mon0][WARNIN] monitor: mon.mon0, might not be running yet
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[mon0][WARNIN] monitor mon0 does not exist in monmap
[ceph_deploy.mon][INFO ] processing monitor mon.mon0
[mon0][DEBUG ] connection detected need for sudo
[mon0][DEBUG ] connected to host: mon0
[mon0][DEBUG ] detect platform information from remote host
[mon0][DEBUG ] detect machine type
[mon0][DEBUG ] find the location of an executable
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.mon][WARNIN] mon.mon0 monitor is not yet in quorum, tries left: 5
[ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.mon][WARNIN] mon.mon0 monitor is not yet in quorum, tries left: 4
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.mon][WARNIN] mon.mon0 monitor is not yet in quorum, tries left: 3
[ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.mon][WARNIN] mon.mon0 monitor is not yet in quorum, tries left: 2
[ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying
[mon0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon0.asok mon_status
[mon0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph_deploy.mon][WARNIN] mon.mon0 monitor is not yet in quorum, tries left: 1
[ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying
[ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum:
[ceph_deploy.mon][ERROR ] mon0
[ceph@hdmaster ~]$
And try to run it from the storage node, it give me this error too.
[root@hdslave4 yum.repos.d]# su - ceph
Last login: Thu Dec 17 11:11:03 PST 2015 from hdmaster on pts/7
[ceph@hdslave4 ~]$ ceph-create-keys --id client.admin
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
^CTraceback (most recent call last):
File "/usr/sbin/ceph-create-keys", line 231, in <module>
main()
File "/usr/sbin/ceph-create-keys", line 213, in main
wait_for_quorum(cluster=args.cluster, mon_id=args.id)
File "/usr/sbin/ceph-create-keys", line 30, in wait_for_quorum
out = p.stdout.read()
KeyboardInterrupt
[ceph@hdslave4 ~]$
Thanks in advance.
Alex Leung
From: Bob R <bobr@xxxxxxxxxxxxxx>
Date: Thursday, December 17, 2015 10:52 AM To: Microsoft Office User <alex.leung@xxxxxxxxxxxx> Cc: "ceph-users@xxxxxxxxxxxxxx" <ceph-users@xxxxxxxxxxxxxx> Subject: Re: problem on ceph installation on centos 7 Alex,
It looks like you might have an old repo in there with priority=1 so it's not trying to install hammer. Try mv /etc/yum.repos.d/ceph.repo /etc/yum.repos.d/ceph.repo.old && mv /etc/yum.repos.d/ceph.repo.rpmnew /etc/yum.repos.d/ceph.repo then re-run ceph-deploy.
Bob
On Thu, Dec 10, 2015 at 1:42 PM, Leung, Alex (398C)
<alex.leung@xxxxxxxxxxxx> wrote:
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com