Advertisement
Guest User

Untitled

a guest
Apr 18th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. ====================================================================
  2. Here are configs that are working vxlan but not working with ceph
  3. ====================================================================
  4. root@os004kvm001:~# cat /etc/network/interfaces
  5. # network interface settings; allo-ovsgenerated
  6. # Please do NOT modify this file directly, unless you know what
  7. # you're doing.
  8. #
  9. # If you want to manage parts of the network configuration manually,
  10. # please utilize the 'source' or 'source-directory' directives to do
  11. # so.
  12. # PVE will preserve these directives, but will NOT read its network
  13. # configuration from sourced files, so do not attempt to move any of
  14. # the PVE managed interfaces into external files!
  15.  
  16. auto lo
  17. iface lo inet loopback
  18.  
  19. allow-hotplug enp4s0
  20. iface enp4s0 inet static
  21. address 15.4.3.101/8
  22. gateway 15.1.1.1
  23.  
  24. allow-ovs vxlan2
  25. iface vxlan2 inet manual
  26. ovs_type OVSTunnel
  27. ovs_bridge vmbr1
  28. ovs_tunnel_type vxlan
  29. ovs_tunnel_options options:key=flow options:dst_port=4789 options:remote_ip=15.4.3.102
  30.  
  31. allow-ovs ceph
  32. iface ceph inet static
  33. address 14.4.3.101/8
  34. ovs_type OVSIntPort
  35. ovs_bridge vmbr1
  36. ovs_options tag=2
  37. ovs_mtu 1450
  38.  
  39. allow-ovs vxlan3
  40. iface vxlan3 inet manual
  41. ovs_type OVSTunnel
  42. ovs_bridge vmbr1
  43. ovs_tunnel_type vxlan
  44. ovs_tunnel_options options:dst_port=4789 options:key=flow options:remote_ip=15.4.3.103
  45.  
  46. allow-ovs vmbr0
  47. iface vmbr0 inet manual
  48. ovs_type OVSBridge
  49. ovs_ports enp4s0
  50.  
  51. allow-ovs vmbr1
  52. iface vmbr1 inet manual
  53. ovs_type OVSBridge
  54. ovs_ports vxlan2 ceph vxlan3
  55.  
  56. source /etc/network/interfaces.d/*
  57.  
  58. ====================================================================
  59. ceph osds complain they can not hear from osds on other hosts
  60. ====================================================================
  61.  
  62. 2021-04-18T20:39:49.801-0500 7fb1566a7700 -1 osd.0 436 heartbeat_check: no reply from 15.4.3.103:6808 osd.2 ever on either front or back, first ping sent 2021-04-18T20:37:31.914970-0500 (oldest deadline 2021-04-18T20:37:51.914970-0500)
  63. 2021-04-18T20:39:50.781-0500 7fb1566a7700 -1 osd.0 436 heartbeat_check: no reply from 15.4.3.103:6808 osd.2 ever on either front or back, first ping sent 2021-04-18T20:37:31.914970-0500 (oldest deadline 2021-04-18T20:37:51.914970-0500)
  64.  
  65. ====================================================================
  66. I did a tcpdump and it looks fine
  67. ====================================================================
  68.  
  69. 20:39:34.423445 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [.], ack 5695, win 705, options [nop,nop,TS val 1781661915 ecr 2109025841], length 0
  70. 20:39:34.423493 IP 15.4.3.103.6808 > 15.4.3.101.55312: Flags [P.], seq 5695:6370, ack 6369, win 702, options [nop,nop,TS val 2109025841 ecr 1781661914], length 675
  71. 20:39:34.423499 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [.], ack 6370, win 727, options [nop,nop,TS val 1781661915 ecr 2109025841], length 0
  72. 20:39:39.122927 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [.], seq 6369:7817, ack 6370, win 727, options [nop,nop,TS val 1781666614 ecr 2109025841], length 1448
  73. 20:39:39.122939 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [P.], seq 7817:8492, ack 6370, win 727, options [nop,nop,TS val 1781666614 ecr 2109025841], length 675
  74. 20:39:39.123457 IP 15.4.3.103.6808 > 15.4.3.101.55312: Flags [.], ack 8492, win 735, options [nop,nop,TS val 2109030542 ecr 1781666614], length 0
  75. 20:39:39.123791 IP 15.4.3.103.6808 > 15.4.3.101.55312: Flags [.], seq 6370:7818, ack 8492, win 735, options [nop,nop,TS val 2109030542 ecr 1781666614], length 1448
  76. 20:39:39.123807 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [.], ack 7818, win 750, options [nop,nop,TS val 1781666615 ecr 2109030542], length 0
  77. 20:39:39.123850 IP 15.4.3.103.6808 > 15.4.3.101.55312: Flags [P.], seq 7818:8493, ack 8492, win 735, options [nop,nop,TS val 2109030542 ecr 1781666614], length 675
  78. 20:39:39.123858 IP 15.4.3.101.55312 > 15.4.3.103.6808: Flags [.], ack 8493, win 773, options [nop,nop,TS val 1781666615 ecr 2109030542], length 0
  79. ^C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement