Hi,

I am trying to mount cephfs on iipv4, where ceph is in dual stack mode, but it fails with:

[1692264.203560] libceph: wrong peer, want (1)153.5.68.28:6789/0, got (1)[2001:1470:ff94:d:153:5:68:28]:6789/0
[1692264.213297] libceph: mon2 (1)153.5.68.28:6789 wrong peer at address
[1692264.669683] libceph: wrong peer, want (1)153.5.68.28:6789/0, got (1)[2001:1470:ff94:d:153:5:68:28]:6789/0
[1692264.679423] libceph: mon2 (1)153.5.68.28:6789 wrong peer at address
[1692265.725673] libceph: wrong peer, want (1)153.5.68.28:6789/0, got (1)[2001:1470:ff94:d:153:5:68:28]:6789/0
[1692265.735416] libceph: mon2 (1)153.5.68.28:6789 wrong peer at address
[1692267.645424] libceph: wrong peer, want (1)153.5.68.28:6789/0, got (1)[2001:1470:ff94:d:153:5:68:28]:6789/0
[1692267.655164] libceph: mon2 (1)153.5.68.28:6789 wrong peer at address
[1692267.901476] libceph: wrong peer, want (1)153.5.68.4:6789/0, got (1)[2001:1470:ff94:d:153:5:68:4]:6789/0
[1692267.911041] libceph: mon1 (1)153.5.68.4:6789 wrong peer at address
...

and then it gives up.

mounting with ipv6 works fine, and the monitors and other daemons listen on both networks.

kernel is 5.10.78

Any hints?

the cluster was created in ipv6 mode, I added ipv4 later and recreated the monitors.

Thanks,
Andrej

conf:
[global]
        auth_client_required = cephx
        auth_cluster_required = cephx
        auth_service_required = cephx
        cluster_network = 2001:1470:ff94:d:153:5:68:4/64, 153.5.68.0/24
        fsid = 26f880d0-a0b6-40bd-8296-c0959183ff9f
        mon_allow_pool_delete = true
        mon_host = 2001:1470:ff94:d:153:5:68:22 153.5.68.22 2001:1470:ff94:d:153:5:68:4 153.5.68.4 2001:1470:ff94:d:153:5:68:28 153.5.68.28
        ms_bind_ipv4 = true
        ms_bind_ipv6 = true
        osd_pool_default_min_size = 2
        osd_pool_default_size = 3
        public_network = 2001:1470:ff94:d:153:5:68:4/64, 153.5.68.0/24

root@px01:~# monmaptool --print /tmp/monmap
monmaptool: monmap file /tmp/monmap
epoch 13
fsid 26f880d0-a0b6-40bd-8296-c0959183ff9f
last_changed 2021-12-07T06:38:38.982462+0100
created 2021-12-06T20:15:45.608600+0100
min_mon_release 16 (pacific)
election_strategy: 1
0: [v2:[2001:1470:ff94:d:153:5:68:22]:3300/0,v1:[2001:1470:ff94:d:153:5:68:22]:6789/0,v2:153.5.68.22:3300/0,v1:153.5.68.22:6789/0] mon.px07 1: [v2:[2001:1470:ff94:d:153:5:68:4]:3300/0,v1:[2001:1470:ff94:d:153:5:68:4]:6789/0,v2:153.5.68.4:3300/0,v1:153.5.68.4:6789/0] mon.px01 2: [v2:[2001:1470:ff94:d:153:5:68:28]:3300/0,v1:[2001:1470:ff94:d:153:5:68:28]:6789/0,v2:153.5.68.28:3300/0,v1:153.5.68.28:6789/0] mon.px04



--
_____________________________________________________________
   prof. dr. Andrej Filipcic,   E-mail:andrej.filip...@ijs.si
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-1-477-3674    Fax: +386-1-425-7074
-------------------------------------------------------------
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to