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
<https://mail.barracuda.com/owa/redir.aspx?C=3NyLmctq4E2pteCAiaUljUgzJNylM9JIwPBTxx3luEEtOGlWRbTgjTsFufrr9_uu3LumztxKEp0.&URL=https%3a%2f%2fceph.com%2fgit%2f%3fp%3dceph.git%3ba%3dblob_plain%3bf%3dkeys%2frelease.asc>'
| sudo apt-key add -
wget -q -O- '
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc
<https://mail.barracuda.com/owa/redir.aspx?C=3NyLmctq4E2pteCAiaUljUgzJNylM9JIwPBTxx3luEEtOGlWRbTgjTsFufrr9_uu3LumztxKEp0.&URL=https%3a%2f%2fceph.com%2fgit%2f%3fp%3dceph.git%3ba%3dblob_plain%3bf%3dkeys%2fautobuild.asc>'
| sudo apt-key add -
echo deb http://ceph.com/packages/ceph-extras/debian
<https://mail.barracuda.com/owa/redir.aspx?C=3NyLmctq4E2pteCAiaUljUgzJNylM9JIwPBTxx3luEEtOGlWRbTgjTsFufrr9_uu3LumztxKEp0.&URL=http%3a%2f%2fceph.com%2fpackages%2fceph-extras%2fdebian>
$(lsb_release
-sc) main | sudo tee /etc/apt/sources.list.d/ceph-extras.list
echo deb http://ceph.com/debian-firefly/
<https://mail.barracuda.com/owa/redir.aspx?C=3NyLmctq4E2pteCAiaUljUgzJNylM9JIwPBTxx3luEEtOGlWRbTgjTsFufrr9_uu3LumztxKEp0.&URL=http%3a%2f%2fceph.com%2fdebian-firefly%2f>
$(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.dugra...@univ-lorraine.fr> 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
>
>
>    -
>    http://ceph.com/planet/feature-set-mismatch-error-on-ceph-kernel-client/
>
> 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@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