<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I tested this on my own DVR test environment with a random static
route and I'm getting the same results as on production. Here's
what I get in the logs :<br>
<br>
2022-05-09 17:28:50.018 691 INFO neutron.agent.l3.agent [-]
Starting processing update 41fcd10b-7db5-45d9-b23c-e22f34c45eec,
action 3, priority 1, update_id
9e112de1-f538-4a41-9526-152aa3937129. Wait time elapsed: 0.001<br>
2022-05-09 17:28:50.019 691 INFO neutron.agent.l3.agent [-]
Starting router update for 41fcd10b-7db5-45d9-b23c-e22f34c45eec,
action 3, priority 1, update_id
9e112de1-f538-4a41-9526-152aa3937129. Wait time elapsed: 0.002<br>
2022-05-09 17:28:51.640 691 INFO neutron.agent.l3.agent [-]
Finished a router update for 41fcd10b-7db5-45d9-b23c-e22f34c45eec,
update_id 9e112de1-f538-4a41-9526-152aa3937129. Time elapsed:
1.622</p>
<p>As you can see, there was an attempt at updating the router and
it did return as successful. However, there was no new route added
in the router or floating ip namespace. No error either.<br>
</p>
<div class="moz-cite-prefix">On 5/6/22 14:40, Slawek Kaplonski
wrote:<br>
</div>
<blockquote type="cite" cite="mid:K75HBR.KMIUI898MO5O@redhat.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div id="geary-body" dir="auto">
<div>Hi,</div>
</div>
<div id="geary-quote" dir="auto"><br>
W dniu pią, 6 maj 2022 o 14:14:47 -0400 użytkownik J-P Methot
<a class="moz-txt-link-rfc2396E" href="mailto:jp.methot@planethoster.info"><jp.methot@planethoster.info></a> napisał:<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>Hi,</p>
<p>We're in this situation where we are going to move some
instances from one openstack cluster to another. After this
process, we want our instances on the new openstack cluster
to keep the same floating IPs but also to be able to
communicate with some instances that are in the same public
IP range on the first cluster.<br>
<br>
To accomplish this, we want to add static routes like
'X.X.X.X/32 via Y.Y.Y.Y'. However, we're using DVR and when
we add the static routes, they do not show up anywhere in
any of the namespaces. Is there a different way to add
static routes on DVR instead of using <span class="hljs-built_in" style="box-sizing: border-box; margin: 0px; padding: 0px; vertical-align: baseline; border: 0px solid; font-size: 13px; font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 600; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"> openstack router add route </span><span class="hljs-built_in" style="box-sizing: border-box; margin: 0px; padding: 0px; vertical-align: baseline; border: 0px solid; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">?</span></p>
</blockquote>
<span style="font-size: 13px; white-space: pre-wrap;"><div>No, there is no other way to add static routes to the dvr router. I don't have any DVR deployment now to check it but IIRC route should be added in the qrouter namespace in the compute nodes where router exists. If it's not there please check logs of the l3-agent on those hosts, maybe there are some errors there.</div>
</span>
<blockquote type="cite">
<pre class="moz-signature" cols="72">--
Jean-Philippe Méthot
Senior Openstack system administrator
Administrateur système Openstack sénior
PlanetHoster inc.</pre>
</blockquote>
<font face="monospace"><span style="white-space: break-spaces;">
</span></font>
<div>--
<div>Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat</div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Jean-Philippe Méthot
Senior Openstack system administrator
Administrateur système Openstack sénior
PlanetHoster inc.</pre>
</body>
</html>