Resending to make sure its sent to the list. Had some issues with list subscription.
Ranjeet From: Ranjeet R Sent: Thursday, August 20, 2015 10:39 AM To: Sunil Bakhru <[email protected]>; Dan Houtz <[email protected]>; [email protected] Cc: Suresh Kumar Vinapamula Venkata <[email protected]>; Sanju Abraham <[email protected]> Subject: RE: [Users] Problems with VRRP/Keepalived on HA install Dan VRRP Advertisement are sourced from the local IP Address in keepalived as well. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on p1p1, link-type EN10MB (Ethernet), capture size 65535 bytes 10:29:38.438090 IP 10.84.24.32 > 224.0.0.18: VRRPv2, Advertisement, vrid 112, prio 99, authtype none, intvl 1s, length 20 VIP address does not show up ifconfig, hence I am not sure how you have configured your network interfaces. The following will help us debug this further - * Your testbed.py * keepalived.conf in /etc/keepalived * "ip a s" in all three controllers * /etc/network/interfaces in all three controllers I also see that you are using the controller as a compute node as well which is not supported in HA mode because of an existing bug in vrouter in handling multicast packets. I would recommend to use a separate compute node. Ranjeet From: Sunil Bakhru Sent: Thursday, August 20, 2015 10:25 AM To: Dan Houtz <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Cc: Ranjeet R <[email protected]<mailto:[email protected]>>; Suresh Kumar Vinapamula Venkata <[email protected]<mailto:[email protected]>>; Sanju Abraham <[email protected]<mailto:[email protected]>> Subject: Re: [Users] Problems with VRRP/Keepalived on HA install Dan, Something is not adding up in your setup. All three controllers should not be the master. I am cc'ing the HA team members to follow up with you regarding this issue. Thanks, Sunil From: Dan Houtz <[email protected]<mailto:[email protected]>> Date: Thursday, August 20, 2015 at 9:05 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [Users] Problems with VRRP/Keepalived on HA install Hi everyone, We are currently working on our first HA build of Contrail as up until not we've only tested on single node installs. At this point the install seems to work well but we are seeing issue with keepalived and the VIP address. For some odd reason all 3 Contrail nodes are master for the VIP despite tcpdump showing each box receiving vrrp multicast packets from each other and showing each with a different priority. Should the mcast packets be sources from the VIP? I see our Juniper boxes source their VRRP packets from interfaces local address. I've done plenty of VRRP on hardware routers but don't have any previous experience with keepalived so If anyone has any pointers it would be greatly appreciated. If there is any other data that would help to diagnose I am happy to provide it. Thanks! Dan root@contrail-ctrl1:~# tcpdump -n vrrp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:58:41.487505 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:58:41.564731 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 99, authtype none, intvl 1s, length 20 10:58:42.156237 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 100, authtype none, intvl 1s, length 20 10:58:42.178271 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 10:58:42.198405 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 98, authtype none, intvl 1s, length 20 10:58:42.567434 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:58:42.567685 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 99, authtype none, intvl 1s, length 20 10:58:43.157471 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 100, authtype none, intvl 1s, length 20 10:58:43.178394 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 10:58:43.178440 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 98, authtype none, intvl 1s, length 20 root@contrail-ctrl2:~# tcpdump -n vrrp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:57:46.197718 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 10:57:46.197844 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 98, authtype none, intvl 1s, length 20 10:57:46.411012 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:57:46.749765 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 100, authtype none, intvl 1s, length 20 10:57:46.749907 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 100, authtype none, intvl 1s, length 20 10:57:47.209753 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 root@contrail-ctrl3:~# tcpdump -n vrrp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:59:19.946640 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:19.949357 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:20.248377 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 10:59:20.631787 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 100, authtype none, intvl 1s, length 20 10:59:20.631853 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 100, authtype none, intvl 1s, length 20 10:59:21.067412 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:21.067490 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:21.332021 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 10:59:21.642771 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 100, authtype none, intvl 1s, length 20 10:59:21.645999 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 100, authtype none, intvl 1s, length 20 10:59:22.053416 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:22.059508 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, (ttl 254), vrid 100, prio 99, authtype none, intvl 1s, length 20 10:59:22.404645 IP 10.10.10.10 > 224.0.0.18<http://224.0.0.18>: VRRPv2, Advertisement, vrid 100, prio 98, authtype none, intvl 1s, length 20 root@contrail-ctrl1:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0c:29:3c:78:40 inet addr:10.10.10.10 Bcast:0.0.0.0 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fe3c:7840/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2957429 errors:0 dropped:0 overruns:0 frame:0 TX packets:2970106 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:693687361 (693.6 MB) TX bytes:857618328 (857.6 MB) root@contrail-ctrl1:~# ifconfig vhost0 vhost0 Link encap:Ethernet HWaddr 00:0c:29:3c:78:40 inet addr:10.10.10.11 Bcast:10.10.10.15 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fe3c:7840/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2278044 errors:0 dropped:0 overruns:0 frame:0 TX packets:2221017 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:644167184 (644.1 MB) TX bytes:5245411872 (5.2 GB) root@contrail-ctrl2:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0c:29:a8:f8:75 inet addr:10.10.10.10 Bcast:0.0.0.0 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fea8:f875/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4370215 errors:0 dropped:0 overruns:0 frame:0 TX packets:4785945 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:929798623 (929.7 MB) TX bytes:907980495 (907.9 MB) root@contrail-ctrl2:~# ifconfig vhost0 vhost0 Link encap:Ethernet HWaddr 00:0c:29:a8:f8:75 inet addr:10.10.10.12 Bcast:10.10.10.15 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fea8:f875/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3664174 errors:0 dropped:0 overruns:0 frame:0 TX packets:4159902 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:878825685 (878.8 MB) TX bytes:2547421114 (2.5 GB) root@contrail-ctrl3:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0c:29:31:bc:2a inet addr:10.10.10.10 Bcast:0.0.0.0 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fe31:bc2a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:539492 errors:0 dropped:0 overruns:0 frame:0 TX packets:411385 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:266613501 (266.6 MB) TX bytes:73900674 (73.9 MB) root@contrail-ctrl3:~# ifconfig vhost0 vhost0 Link encap:Ethernet HWaddr 00:0c:29:31:bc:2a inet addr:10.10.10.13 Bcast:10.10.10.15 Mask:255.255.255.240 inet6 addr: fe80::20c:29ff:fe31:bc2a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:406152 errors:0 dropped:0 overruns:0 frame:0 TX packets:395289 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:258079952 (258.0 MB) TX bytes:73573553 (73.5 MB)
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
