Hi all,

Did you find a solution ? Because I’m experiencing the same issue for my fresh 
install (5 nodes)
I’ve got 5 mon_initial_members :
mon_initial_members = ceph1, ceph2, ceph3, ceph4, ceph5
mon_host = ip1, ip2, ip3, ip4, ip5

Trying to ping the whole cluster with the hostnames from my admin-node (ceph1) 
my ips are fine (it’s actually in each /etc/hosts so… no surprises), no 
iptables, same subnet.
No members can register in the quorum using ceph-deploy mon create-initial. I 
made a try the ‘old way’ with mon create -> ok but gatherkeys cannot find 
neither /var/lib/ceph/boostrap-mds/ceph.keyring nor 
/etc/ceph/ceph.client.admin.keyring.

Any idea ?
Thx

De : ceph-users [mailto:ceph-users-boun...@lists.ceph.com] De la part de Sergey 
Motovilovets
Envoyé : jeudi 22 mai 2014 15:34
À : Alfredo Deza
Cc : ceph-users@lists.ceph.com
Objet : Re: [ceph-users] ceph-deploy mon create-initial

Hello there.

I had the same issue when mon_initial_members (in my case it was 1 node) 
resolved to different IP then mon_host was set to in ceph.conf.

2014-05-22 16:05 GMT+03:00 Alfredo Deza 
<alfredo.d...@inktank.com<mailto:alfredo.d...@inktank.com>>:
Why are you using "--overwrite-conf" ? Have you deployed the monitor
and attempted to re-deploy it again?

It could be that if that is the case you are getting into an
inconsistent state and monitors are having issues. For example, you
could have stale keyrings and authentication would not work.

Try with a brand new host or, if you don't care about the data, do
`ceph-deploy purge ceph-node1 && ceph-deploy purgedata ceph-node1 &&
ceph-deploy install ceph-node1`
and then try create-initial again.

create-initial is the best way to do this, and it already gives very
good/useful output!

On Thu, May 22, 2014 at 6:56 AM, Mārtiņš Jakubovičs 
<mart...@vertigs.lv<mailto:mart...@vertigs.lv>> wrote:
> Unfortunately upgrade to 0.80 didn't help. Same error.
>
> In monitor node I checked file /etc/ceph/ceph.client.admin.keyring and it
> didn't exist. Should it exist?
> Maybe I can manually perform some actions in monitor node to generate key's?
>
>
> On 2014.05.22. 13<tel:2014.05.22.%2013>:00, Wido den Hollander wrote:
>>
>> On 05/22/2014 11:54 AM, Mārtiņš Jakubovičs wrote:
>>>
>>> Hello,
>>>
>>> Thanks for such fast response.
>>>
>>> Warning still persist:
>>>
>>> http://pastebin.com/QnciHG6v
>>>
>>
>> Hmm, that's weird.
>>
>>> I didn't mention it, but admin and monitoring nodes are Ubuntu 14.04
>>> x64, ceph-deploy 1.4 and ceph 0.79.
>>>
>>
>> Why aren't you trying with Ceph 0.80 Firefly? I'd recommend you try that.
>>
>> The monitor should still have generated the client.admin keyring, but
>> that's something different.
>>
>> Wido
>>
>>> On 2014.05.22. 12:50, Wido den Hollander wrote:
>>>>
>>>> On 05/22/2014 11:46 AM, Mārtiņš Jakubovičs wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I follow this guide
>>>>> <http://ceph.com/docs/master/start/quick-ceph-deploy/#create-a-cluster>
>>>>> and stuck in item 4.
>>>>>
>>>>>     Add the initial monitor(s) and gather the keys (new
>>>>>     inceph-deployv1.1.3).
>>>>>
>>>>>     ceph-deploy mon create-initial
>>>>>
>>>>>     For example:
>>>>>
>>>>>     ceph-deploy mon create-initial
>>>>>
>>>>> If I perform this action I got warning messages and didn't receive any
>>>>> key's.
>>>>>
>>>>> http://pastebin.com/g21CNPyY
>>>>>
>>>>> How I can solve this issue?
>>>>>
>>>>
>>>> Sometimes it takes a couple of seconds for the keys to be generated.
>>>>
>>>> What if you run this afterwards:
>>>>
>>>> $ ceph-deploy gatherkeys ceph-node1
>>>>
>>>> Wido
>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ceph-users mailing list
>>>>> ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
>>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> ceph-users mailing list
>>> ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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

Reply via email to