<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Unfortunately I've not had a chance yet to play with neutron router HA, so no hints from me. =(  Can you give a little more details about "it stops working"?  I.e. You see packets dropped while controller 1 is down?  Do packets begin flowing before controller1
 comes back online?  Does controller1 come back online successfully?  Do packets begin to flow after controller1 comes back online?  Perhaps that will help.</div>
<div><br>
</div>
<div>Thx,</div>
<div>britt</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Pedro Sousa <<a href="mailto:pgsousa@gmail.com">pgsousa@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 23, 2014 at 11:14 AM<br>
<span style="font-weight:bold">To: </span>Britt Houser <<a href="mailto:bhouser@cisco.com">bhouser@cisco.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>" <<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack-operators] Neutron DVR HA<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">I understand Britt, thanks.
<div><br>
</div>
<div>So I disabled DVR and tried  to test L3_HA, but it's not working properly, it seems a keepalived issue. I see that it's running on 3 nodes:</div>
<div><br>
</div>
<div>[root@controller01 keepalived]# neutron l3-agent-list-hosting-router harouter</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
<div>| id                                   | host         | admin_state_up | alive |</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
<div>| 09cfad44-2bb2-4683-a803-ed70f3a46a6a | controller01 | True           | :-)   |</div>
<div>| 58ff7c42-7e71-4750-9f05-61ad5fbc5776 | compute03    | True           | :-)   |</div>
<div>| 8d778c6a-94df-40b7-a2d6-120668e699ca | compute02    | True           | :-)   |</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
<div><br>
</div>
<div>However if I reboot one of the l3-agent nodes it stops working. I see this in the logs:</div>
<div><br>
</div>
<div>
<div><b>Dec 23 16:12:28 Compute02 Keepalived_vrrp[18928]: ip address associated with VRID not present in received packet : 172.16.28.20</b></div>
<div><b>Dec 23 16:12:28 Compute02 Keepalived_vrrp[18928]: one or more VIP associated with VRID mismatch actual MASTER advert</b></div>
<div><b>Dec 23 16:12:28 Compute02 Keepalived_vrrp[18928]: bogus VRRP packet received on ha-a509de81-1c !!!</b></div>
<div><b>Dec 23 16:12:28 Compute02 Keepalived_vrrp[18928]: VRRP_Instance(VR_1) ignoring received advertisment...</b></div>
<div><b><br>
</b></div>
</div>
<div>
<div><b>Dec 23 16:13:10 Compute03 Keepalived_vrrp[12501]: VRRP_Instance(VR_1) ignoring received advertisment...</b></div>
<div><b>Dec 23 16:13:12 Compute03 Keepalived_vrrp[12501]: ip address associated with VRID not present in received packet : 172.16.28.20</b></div>
<div><b>Dec 23 16:13:12 Compute03 Keepalived_vrrp[12501]: one or more VIP associated with VRID mismatch actual MASTER advert</b></div>
<div><b>Dec 23 16:13:12 Compute03 Keepalived_vrrp[12501]: bogus VRRP packet received on ha-d5718741-ef !!!</b></div>
<div><b>Dec 23 16:13:12 Compute03 Keepalived_vrrp[12501]: VRRP_Instance(VR_1) ignoring received advertisment...</b></div>
</div>
<div><br>
</div>
<div>Any hint?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div><br>
</div>
<div> </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Dec 23, 2014 at 3:17 PM, Britt Houser (bhouser) <span dir="ltr">
<<a href="mailto:bhouser@cisco.com" target="_blank">bhouser@cisco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Currently HA and DVR are mutually exclusive features.</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Pedro Sousa <<a href="mailto:pgsousa@gmail.com" target="_blank">pgsousa@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 23, 2014 at 9:42 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a>" <<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] Neutron DVR HA<br>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I've been trying Neutron DVR with 2 controllers +  2 computes. When I create a router I can see that is running on all the servers:</div>
<div><br>
</div>
<div>
<div>[root@controller01 ~]# neutron l3-agent-list-hosting-router router</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
<div>| id                                   | host         | admin_state_up | alive |</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
<div>| 09cfad44-2bb2-4683-a803-ed70f3a46a6a | controller01 | True           | :-)   |</div>
<div>| 0ca01d56-b6dd-483d-9c49-cc7209da2a5a | controller02 | True           | :-)   |</div>
<div>| 52379f0f-9046-4b73-9d87-bab7f96be5e7 | compute01    | True           | :-)   |</div>
<div>| 8d778c6a-94df-40b7-a2d6-120668e699ca | compute02    | True           | :-)   |</div>
<div>+--------------------------------------+--------------+----------------+-------+</div>
</div>
<div><br>
</div>
<div>However if controller01 server dies I cannot ping ip external gateway anymore. Is this the expected behavior? Shouldn't it failback to the another controller node?</div>
<div><br>
</div>
<div>Thanks</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>