<div dir="ltr">I ended up figuring it out. All the interfaces were created correctly. However, for some reason the DHCP options for this subnet were incorrect. The static route for the subnet was set to the .6 address but neutron had setup the metadata interface on .16. Once I modified the DHCP options and built new instances everything worked fine.<div><br></div><div>Thanks</div><div>Chris</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 21, 2022 at 6:49 AM Rodolfo Alonso Hernandez <<a href="mailto:ralonsoh@redhat.com">ralonsoh@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello Chris:</div><div><br></div><div>10.210.65.6 is the IP address of the metadata namespace interface. The metadata service is on 169.254.169.254 address; this route is redirecting this traffic. Check the network ID and then the corresponding metadata:</div><div></div><div>root@u20ovn:~# ip netns <br>ovnmeta-5274fa45-c33a-4c66-be3a-b8ecd294c769 (id: 3)<br>ovnmeta-ee1597ee-579d-49dc-9b90-fbb8f98baef9 (id: 2)<br></div><div><br></div><div>root@u20ovn:~# ip netns exec $meta ip a<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000<br> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br> inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo<br> valid_lft forever preferred_lft forever<br> inet6 ::1/128 scope host <br> valid_lft forever preferred_lft forever<br>2: tap5274fa45-c1@if62: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000<br> link/ether fa:16:3e:dd:2b:2c brd ff:ff:ff:ff:ff:ff link-netnsid 0<br> inet <a href="http://10.0.10.3/26" target="_blank">10.0.10.3/26</a> brd 10.0.10.63 scope global tap5274fa45-c1<br> valid_lft forever preferred_lft forever<br> inet <a href="http://169.254.169.254/32" target="_blank">169.254.169.254/32</a> brd 169.254.169.254 scope global tap5274fa45-c1</div><div><br></div><div><br></div><div>Check if the metadata agent logs and verify you are not hitting [1]. Check you have [2].</div><div><br></div><div>Regards.<br></div><div><br></div><div>[1]<a href="https://bugs.launchpad.net/neutron/+bug/1952550" target="_blank">https://bugs.launchpad.net/neutron/+bug/1952550</a></div><div>[2]<a href="https://review.opendev.org/c/openstack/neutron/+/822669" target="_blank">https://review.opendev.org/c/openstack/neutron/+/822669</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 17, 2022 at 8:14 PM Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Disregard my above email, I didn't see that you created vm using a<br>
fixed IP address. When you create a network/subnet during that time<br>
OVN creates this special localport IP. In my case its 10.1.1.5<br>
<br>
I believe you shouldn't use that IP address for VM.<br>
<br>
port 0e36e2b1-12d2-4eb2-a9ea-556644a73067<br>
type: localport<br>
addresses: ["fa:16:3e:6e:36:f9 10.1.1.5"]<br>
<br>
On Thu, Feb 17, 2022 at 2:00 PM Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br>
><br>
> 10.210.64.6 must be your computer node IP, it will redirect metadata<br>
> requests to your controller node. 169.254.169.254 is a special IP<br>
> address for meta services.<br>
><br>
> On Thu, Feb 17, 2022 at 1:55 PM Chris DiLorenzo <<a href="mailto:cdilorenzo@gmail.com" target="_blank">cdilorenzo@gmail.com</a>> wrote:<br>
> ><br>
> > Hello,<br>
> ><br>
> > I am having a weird issue. I am running openstack Victoria with OVN. Generally, everything is working. I created a VM using a fixed port with an IP of 10.210.64.6. There are no issues with this VM. When I create a new VM, I get this route info:<br>
> ><br>
> > [ 29.363664] cloud-init[564]: ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++<br>
> > [ 29.368568] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+<br>
> > [ 29.369945] cloud-init[564]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |<br>
> > [ 29.372441] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+<br>
> > [ 29.376434] cloud-init[564]: ci-info: | 0 | 0.0.0.0 | 10.210.64.1 | 0.0.0.0 | ens3 | UG |<br>
> > [ 29.377820] cloud-init[564]: ci-info: | 1 | 10.210.64.0 | 0.0.0.0 | 255.255.255.192 | ens3 | U |<br>
> > [ 29.380417] cloud-init[564]: ci-info: | 2 | 169.254.169.254 | 10.210.64.6 | 255.255.255.255 | ens3 | UGH |<br>
> > [ 29.384448] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+<br>
> ><br>
> > The IP is set correctly, but you can see I am getting a gateway of 10.210.64.6 for the metadata ser. ice. This is preventing the VM from reaching the service so the SSH key is not being added preventing me from logging in. As far as I can tell, there are no error and every VM I build is getting this .6 IP for this route.<br>
> ><br>
> > Thanks,<br>
> > Chris<br>
> ><br>
> ><br>
<br>
</blockquote></div>
</blockquote></div>