Re: client-ceph [can not connect from client][connect protocol feature mismatch]

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

 



Thanks a lot Stephane and Kamil, 

Your reply was really helpful. I needed a different version of ceph client on my client machine. Initially my java application using librados was throwing connection time out. Then I considered querying ceph from command line (ceph --id ...), which was giving the error - 



2015-03-05 13:37:16.816322 7f5191deb700 -- 10.8.25.112:0/2487 >> 10.138.23.241:6789/0pipe(0x12489f0 sd=3 pgs=0 cs=0 l=0).connect protocol feature mismatch, my 1ffa < peer 42041ffa missing 42040000


From the hits given in your mail i tried -

wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo apt-key add -
wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc' | sudo apt-key add -
echo deb http://ceph.com/packages/ceph-extras/debian $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph-extras.list
echo deb http://ceph.com/debian-firefly/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
sudo apt-get install ceph-common

to verify:
ceph --id brts --keyring=/etc/ceph/ceph.client.brts.keyring health
HEALTH_OK

Thanks for the reply. 

-Sonal


On Fri, Mar 6, 2015 at 5:50 AM, Stéphane DUGRAVOT <stephane.dugravot@xxxxxxxxxxxxxxxx> wrote:
Hi Sonal,
You can refer to this doc to identify your problem.
Your error code is 42040000, so
  • 40000000 upgrade to kernel 3.9
  •  2000000 CEPH_FEATURE_CRUSH_TUNABLES2
  •     40000 CEPH_FEATURE_CRUSH_TUNABLES
Stephane.


Hi,

I am newbie for ceph, and ceph-user group. Recently I have been working on a ceph client. It worked on all the environments while when i tested on the production, it is not able to connect to ceph.  

Following are the operating system details and error. If someone has seen this problem before, any help is really appreciated. 

OS -

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

2015-03-05 13:37:16.816322 7f5191deb700 -- 10.8.25.112:0/2487 >> 10.138.23.241:6789/0 pipe(0x12489f0 sd=3 pgs=0 cs=0 l=0).connect protocol feature mismatch, my 1ffa < peer 42041ffa missing 42040000
2015-03-05 13:37:17.635776 7f5191deb700 -- 10.8.25.112:0/2487 >> 10.138.23.241:6789/0 pipe(0x12489f0 sd=3 pgs=0 cs=0 l=0).connect protocol feature mismatch, my 1ffa < peer 42041ffa missing 42040000

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


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

[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