ceph-deploy mon create-initial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.deza at 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 <martins at 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: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 at lists.ceph.com
> >>>>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>>>>
> >>>>
> >>>>
> >>>
> >>> _______________________________________________
> >>> ceph-users mailing list
> >>> ceph-users at lists.ceph.com
> >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> >>
> >>
> >>
> >
> > _______________________________________________
> > ceph-users mailing list
> > ceph-users at lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140522/61e9000f/attachment.htm>


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux