From: Sherry Shahbazi Subject: Re: Ceph cluster is unreachable because of authentication failure Date: Sat, 18 Jan 2014 00:55:04 -0800 (PST) Message-ID: <1390035304.76532.YahooMailNeo@web121101.mail.ne1.yahoo.com> References: Reply-To: Sherry Shahbazi Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1350326722==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org Sender: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org To: GuangYang , "ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org" Cc: Ceph Development List-Id: ceph-devel.vger.kernel.org --===============1350326722== Content-Type: multipart/alternative; boundary="-876742037-1124017723-1390035304=:76532" ---876742037-1124017723-1390035304=:76532 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guang, =0A=0ACan you check the privileges of ceph.conf and ceph.client.a= dmin.keyring as they should look like the following:=0A=0A-rw-r--r-- 1 root= root 719 Jan 17 17:34 ceph.conf=0A-rw-r--r-- 1 root root 64 Jan 17 11:58 c= eph.client.admin.keyring=0A=0ARegards=0ASherry=0A=0A=0A=0AOn Wednesday, Jan= uary 15, 2014 1:57 AM, GuangYang wrote:=0A =0AHi cep= h-users and ceph-devel,=0AI came across an issue after restarting monitors = of the cluster, that authentication fails which prevents running any ceph c= ommand.=0A=0AAfter we did some maintenance work, I restart OSD, however, I = found that the OSD would not join the cluster automatically after being res= tarted, though TCP dump showed it had already sent messenger to monitor tel= ling add me into the cluster.=0A=0ASo that I suspected there might be some = issues of monitor and I restarted monitor one by one (3 in total), however,= after restarting monitors, all ceph command would fail saying authenticati= on timeout=E2=80=A6=0A=0A2014-01-14 12:00:30.499397 7fc7f195e700=C2=A0 0 mo= nclient(hunting): authenticate timed out after 300=0A2014-01-14 12:00:30.49= 9440 7fc7f195e700=C2=A0 0 librados: client.admin authentication error (110)= Connection timed out=0AError connecting to cluster: Error=0A=0AAny idea wh= y such error happened (restarting OSD would result in the same error)?=0A= =0AI am thinking the authentication information is persisted in mon local d= isk and is there a chance those data got corrupted?=0A=0AThanks,=0AGuang=0A= _______________________________________________=0Aceph-users mailing list= =0Aceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org=0Ahttp://lists.ceph.com/listinfo.cgi/ceph-user= s-ceph.com ---876742037-1124017723-1390035304=:76532 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Guang,

Can you check= the privileges of ceph.conf and ceph.client.admin.keyring as they should l= ook like the following:

-rw-r--r-- 1 r= oot root 719 Jan 17 17:34 ceph.conf
-rw-r--r-- 1 root roo= t 64 Jan 17 11:58 ceph.client.admin.keyring

Regards
Sherry


=
On Wednesday, January 15, 2014 1:57 AM, GuangYang <yguang11-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org> wrote:
Hi ceph-users and ceph-devel,
I came across an issue after = restarting monitors of the cluster, that authentication fails which prevent= s running any ceph command.

After we did some maintenance work, I re= start OSD, however, I found that the OSD would not join the cluster automat= ically after being restarted, though TCP dump showed it had already sent me= ssenger to monitor telling add me into the cluster.

So that I suspec= ted there might be some issues of monitor and I restarted monitor one by on= e (3 in total), however, after restarting monitors, all ceph command would = fail saying authentication timeout=E2=80=A6

2014-01-14 12:00:30.4993= 97 7fc7f195e700  0 monclient(hunting): authenticate timed out after 30= 0
2014-01-14 12:00:30.499440 7fc7f195e700  0 librados: client.admin= authentication error (110) Connection timed out
Error connecting to cluster: Error

Any idea why such error happened (restarting OSD wou= ld result in the same error)?

I am thinking the authentication infor= mation is persisted in mon local disk and is there a chance those data got = corrupted?

Thanks,
Guang
_____________________________________= __________
ceph-users mailing list
ceph-users-idqoXFIVOFI@public.gmane.org= ph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.= com

---876742037-1124017723-1390035304=:76532-- --===============1350326722== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ceph-users mailing list ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com --===============1350326722==--