<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</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>
<div>
<div>Thank you, this was very helpful</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; 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>Tobias Urdin<br>
<span style="font-weight:bold">Date: </span>Wednesday 28 September 2016 at 12:43<br>
<span style="font-weight:bold">To: </span>David Orn Johannsson<br>
<span style="font-weight:bold">Cc: </span>"<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] L3 HA Router<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Hello,<br>
Please note that this is not recommended but it's currently the least invasive way (i.e not killing the machine or the keepalived process).<br>
<br>
* Get the UUID of the L3 router.<br>
* Go to the node that hosts your L3 routers (running the neutron-l3-agent service) and show all interfaces in that namespace.<br>
* Shutdown ha-xxx interface in that routers namespace.<br>
<br>
Example:<br>
List all interfaces in this router namespace.<br>
$ ip netns exec qrouter-ebb5939f-b8b2-4351-8995-27e4ccf9ebe2 ifconfig -a<br>
<br>
Then just kill the "ha-xxxx" interface with:<br>
$ ip netns exec qrouter-ebb5939f-b8b2-4351-8995-27e4ccf9ebe2 ifconfig ha-xxx down<br>
<br>
You can find the current master router using <br>
$ neutron l3-agent-list-hosting-router ebb5939f-b8b2-4351-8995-27e4ccf9ebe2<br>
<br>
Read up more on how these things work, you will need it.<br>
Google some stuff and you'll get something like this: <a class="moz-txt-link-freetext" href="https://developer.rackspace.com/blog/neutron-networking-l3-agent/">
https://developer.rackspace.com/blog/neutron-networking-l3-agent/</a><br>
<br>
There is alot of resource at your disposal out there.<br>
Good luck!<br>
<br>
<div class="moz-cite-prefix">On 09/28/2016 01:58 PM, Davíð Örn Jóhannsson wrote:<br>
</div>
<blockquote cite="mid:387D3B92-D8C7-4022-AEC8-6FBA7E1B126F@siminn.is" type="cite">
<div>
<div>I figured this might be the case, but can you tell how I can locate the interface for the router namespace, if I do a ifconfig –a on the network node, I only see the br-* interfaces and the physical ones.</div>
<div><br>
</div>
<div>I assume, I’d need to take down one of the interfaces that keepalived is responsible for, but I’m not sure how to find them and make the right connection interface to router in order to choose the right interface to take down</div>
<div></div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt;
          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>Tobias Urdin<br>
<span style="font-weight:bold">Date: </span>Wednesday 28 September 2016 at 11:11<br>
<span style="font-weight:bold">To: </span>David Orn Johannsson<br>
<span style="font-weight:bold">Cc: </span>"<a moz-do-not-send="true" href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>"<br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack-operators] L3 HA Router<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Hello,<br>
<br>
Some work was done in that area however it was never completed.<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://bugs.launchpad.net/neutron/+bug/1370033">https://bugs.launchpad.net/neutron/+bug/1370033</a><br>
<br>
You can issue an ugly failover by taking down the "ha" interface in the router namespace of the master with ifconfig down. But it's not pretty.<br>
<br>
Best regards<br>
<br>
<div class="moz-cite-prefix">On 09/28/2016 11:40 AM, Davíð Örn Jóhannsson wrote:<br>
</div>
<blockquote cite="mid:8DAF5FA3-27F9-4C07-A633-D4CC9270CB82@siminn.is" type="cite">
<div>
<div>
<div>OS: Ubuntu 14.04</div>
<div>OpenStack Liberty</div>
<div><br>
</div>
<div>Is it possible to perform a manual failover of HA routers between master and backup by any sensible means ?</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</span></blockquote>
<br>
</div>
</div>
</span>
</body>
</html>