Hi all,

I've problem in deploying mimic using ceph-ansible at following step:

---------- cut here -----------
TASK [ceph-mon : collect admin and bootstrap keys] *****************************
Monday 06 May 2019  17:01:23 +0800 (0:00:00.854)       0:05:38.899 ************
fatal: [cphmon3a]: FAILED! => {"changed": false, "cmd": ["ceph-create-keys", 
"--cluster", "ceph", "-i", "cphmon3a", "-t", "600"], "delta": "0:11:24.675833", 
"end": "2019-05-06 17:12:48.500996", "msg": "non-zero return code", "rc": 1, 
"start": "2019-05-06 17:01:23.825163", "stderr": 
"INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\n 
INFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: 
u'probing'\nINFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'\n
---------- cut here -----------

There are 2 NIC on all MONs.   The site.yml contains some basic configuration:

----------- site.yml --------
dummy:

ceph_origin: repository
ceph_repository: community
ceph_stable_release: mimic
public_network: "123.123.7.0/24"                             <-- fake ip range 
of our public network
cluster_network: "192.168.77.0/24"
monitor_interface: p2p1
----------- site.yml --------



And the ceph.conf created on MONs :



-------- ceph.conf -------
# Please do not change this file directly since it is managed by Ansible and 
will be overwritten

[global]
fsid = 17db45c6-b5ac-47e8-b5cb-b3e5215f4af4


mon initial members = cphmon1a,cphmon2a,cphmon3a,cphmon4b,cphmon5b,cphmon6b
osd pool default crush rule = -1

mon host = 
123.123.7.92,123.123.7.93,123.123.7.94,123.123.7.95,123.123.7.96,123.123.7.97

public network = 123.123.7.0/24
cluster network = 192.168.77.0/24
-------- ceph.conf -------

Also get same error if running following on one of the MONs:

#ceph-create-keys --cluster ceph --id cphmon1a
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'


We're using Ansible 2.6 (for deploying Mimic using ceph-ansible).

Would anyone please help?

Thanks a lot.
/st wong

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to