<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Is your local environment on Wallaby? I might consider upgrading
if it's more recent than that. We use Kolla to deploy so it might
also play into this.<br>
</p>
<div class="moz-cite-prefix">On 5/17/22 08:59, Slawek Kaplonski
wrote:<br>
</div>
<blockquote type="cite" cite="mid:2110973.yFWlo4NoJW@p1">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Dnia
czwartek, 12 maja 2022 19:23:15 CEST J-P Methot pisze:</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
Hi,</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
I got the debug logs. They were a bit too long so I put them in
a txt </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
file. Please tell me if you'd prefer a pastebin instead.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
On 5/10/22 02:38, Slawek Kaplonski wrote:</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> Hi,</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> W dniu pon, 9 maj 2022 o 13:49:22 -0400 użytkownik J-P
Methot </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> <a class="moz-txt-link-rfc2396E" href="mailto:jp.methot@planethoster.info"><jp.methot@planethoster.info></a> napisał:</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> I tested this on my own DVR test environment with a
random static </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> route and I'm getting the same results as on
production. Here's what </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> I get in the logs :</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> 2022-05-09 17:28:50.018 691 INFO neutron.agent.l3.agent
[-] Starting </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> processing update 41fcd10b-7db5-45d9-b23c-e22f34c45eec,
action 3, </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> priority 1, update_id
9e112de1-f538-4a41-9526-152aa3937129. Wait time </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> elapsed: 0.001</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> 2022-05-09 17:28:50.019 691 INFO neutron.agent.l3.agent
[-] Starting </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> router update for 41fcd10b-7db5-45d9-b23c-e22f34c45eec,
action 3, </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> priority 1, update_id
9e112de1-f538-4a41-9526-152aa3937129. Wait time </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> elapsed: 0.002</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> 2022-05-09 17:28:51.640 691 INFO neutron.agent.l3.agent
[-] Finished </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> a router update for
41fcd10b-7db5-45d9-b23c-e22f34c45eec, update_id </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> 9e112de1-f538-4a41-9526-152aa3937129. Time elapsed:
1.622</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> As you can see, there was an attempt at updating the
router and it </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> did return as successful. However, there was no new
route added in </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> the router or floating ip namespace. No error either.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> Can You do the same with debug logs enabled?</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> On 5/6/22 14:40, Slawek Kaplonski wrote:</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> Hi,</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> W dniu pią, 6 maj 2022 o 14:14:47 -0400 użytkownik
J-P Methot </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> <a class="moz-txt-link-rfc2396E" href="mailto:jp.methot@planethoster.info"><jp.methot@planethoster.info></a> napisał:</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> Hi,</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> We're in this situation where we are going to
move some instances </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> from one openstack cluster to another. After
this process, we want </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> our instances on the new openstack cluster to
keep the same </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> floating IPs but also to be able to communicate
with some instances </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> that are in the same public IP range on the
first cluster.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> To accomplish this, we want to add static
routes like 'X.X.X.X/32 </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> via Y.Y.Y.Y'. However, we're using DVR and when
we add the static </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> routes, they do not show up anywhere in any of
the namespaces. Is </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> there a different way to add static routes on
DVR instead of using </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> openstack router add route ?</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> No, there is no other way to add static routes to
the dvr router. I </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> don't have any DVR deployment now to check it but
IIRC route should </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> be added in the qrouter namespace in the compute
nodes where router </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> exists. If it's not there please check logs of the
l3-agent on those </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> hosts, maybe there are some errors there.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> -- </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> Jean-Philippe Méthot</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> Senior Openstack system administrator</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> Administrateur système Openstack sénior</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>>> PlanetHoster inc.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> -- </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> Slawek Kaplonski</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> Principal Software Engineer</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>>> Red Hat</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> -- </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> Jean-Philippe Méthot</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> Senior Openstack system administrator</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> Administrateur système Openstack sénior</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
>> PlanetHoster inc.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> -- </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> Slawek Kaplonski</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> Principal Software Engineer</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
> Red Hat</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
-- </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
Jean-Philippe Méthot</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
Senior Openstack system administrator</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
Administrateur système Openstack sénior</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
PlanetHoster inc.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">>
</p>
<br>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I
just tested it today on my local env and everything works fine
for me. When I added extra route to some external IP address it
was added in snat-XXX namespace,</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">When
I tested dvr router only with private networks, extra route was
added in the qrouter-XXX namespaces.</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Also,
we have scenario test <a
href="https://github.com/openstack/neutron-tempest-plugin/blob/6dcc0e81b5f3c656181091025f351eb479cdde21/neutron_tempest_plugin/scenario/test_connectivity.py#L73"
moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/openstack/neutron-tempest-plugin/blob/6dcc0e81b5f3c656181091025f351eb479cdde21/neutron_tempest_plugin/scenario/test_connectivity.py#L73</a> which
is creating such extra routes and uses them to connect between
VMs. And this test is running fine AFAIK in our CI.</p>
<br>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">--
</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Slawek
Kaplonski</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Principal
Software Engineer</p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Red
Hat</p>
</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>