Hi,
i am trying to make ceph works on ipv6. Ipv6 can ping each other on their subnets. But i am stuck in ceph...
It looks as monitors works, but they are probably still on ipv4 and not ipv6...osds don't start anymore. I tried option mon_host in different format with IPs but nothing succesfull. Where is problem?
Thanks.
i am trying to make ceph works on ipv6. Ipv6 can ping each other on their subnets. But i am stuck in ceph...
Code:
#ipv6
cluster_network = fd8d:7868:1cfd:6443::/64
public_network = fd8d:7868:1cfd:6444::/64
mon_host = [fd8d:7868:1cfd:6444::1],[fd8d:7868:1cfd:6444::2],[fd8d:7868:1cfd:6444::3]
ms_bind_ipv4 = false
ms_bind_ipv6 = true
Code:
root@pve-02:~# ss -l | grep 3300
tcp LISTEN 0 128 IPv4:3300 0.0.0.0:*
root@pve-02:~# ss -l | grep 6789
tcp LISTEN 0 128 IPv4:6789 0.0.0.0:*
Code:
root@pve-02:~# ss -l -6
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
udp UNCONN 0 0 [::]:sunrpc [::]:*
tcp LISTEN 0 128 [::]:19999 [::]:*
tcp LISTEN 0 128 *:8006 *:*
tcp LISTEN 0 128 [::]:sunrpc [::]:*
tcp LISTEN 0 128 [::]:ssh [::]:*
tcp LISTEN 0 128 *:3128 *:*
tcp LISTEN 0 100 [::1]:smtp [::]:*
Code:
2019-09-20 12:39:38.205578 mon.pve-02 (mon.1) 4 : cluster [INF] mon.pve-02 calling monitor election
2019-09-20 12:39:38.215241 mon.pve-01 (mon.0) 20 : cluster [INF] mon.pve-01 calling monitor election
2019-09-20 12:39:41.291155 mon.pve-01 (mon.0) 21 : cluster [INF] mon.pve-01 is new leader, mons pve-01,pve-02,pve-03 in quorum (ranks 0,1,2)
2019-09-20 12:39:41.294514 mon.pve-01 (mon.0) 22 : cluster [WRN] 2 clock skew 0.110716s > max 0.05s
2019-09-20 12:39:41.299182 mon.pve-01 (mon.0) 27 : cluster [WRN] Health check failed: clock skew detected on mon.pve-03 (MON_CLOCK_SKEW)
2019-09-20 12:39:41.299246 mon.pve-01 (mon.0) 28 : cluster [INF] Health check cleared: MON_DOWN (was: 1/3 mons down, quorum pve-01,pve-02)
2019-09-20 12:39:41.305228 mon.pve-01 (mon.0) 29 : cluster [WRN] message from mon.2 was stamped 0.113483s in the future, clocks not synchronized
2019-09-20 12:39:41.309553 mon.pve-01 (mon.0) 30 : cluster [WRN] overall HEALTH_WARN 2 osds down; 1 host (2 osds) down; no active mgr; Degraded data redundancy: 42211/126633 objects degraded (33.333%), 256 pgs degraded; clock skew detected on mon.pve-03
2019-09-20 12:39:47.359383 mon.pve-01 (mon.0) 31 : cluster [WRN] message from mon.2 was stamped 0.113495s in the future, clocks not synchronized
2019-09-20 12:40:13.770773 mon.pve-01 (mon.0) 32 : cluster [INF] Health check cleared: MON_CLOCK_SKEW (was: clock skew detected on mon.pve-03)
root@pve-02:/etc/ceph#
It looks as monitors works, but they are probably still on ipv4 and not ipv6...osds don't start anymore. I tried option mon_host in different format with IPs but nothing succesfull. Where is problem?
Thanks.