[kolla][neutron] VM is getting the wrong IP, can't contact metadata service

Satish Patel satish.txt at gmail.com
Thu Feb 17 19:06:22 UTC 2022


Disregard my above email, I didn't see that you created vm using a
fixed IP address.  When you create a network/subnet during that time
OVN creates this special localport IP. In my case its 10.1.1.5

I believe you shouldn't use that IP address for VM.

port 0e36e2b1-12d2-4eb2-a9ea-556644a73067
        type: localport
        addresses: ["fa:16:3e:6e:36:f9 10.1.1.5"]

On Thu, Feb 17, 2022 at 2:00 PM Satish Patel <satish.txt at gmail.com> wrote:
>
> 10.210.64.6 must be your computer node IP, it will redirect metadata
> requests to your controller node.  169.254.169.254 is a special IP
> address for meta services.
>
> On Thu, Feb 17, 2022 at 1:55 PM Chris DiLorenzo <cdilorenzo at gmail.com> wrote:
> >
> > Hello,
> >
> > 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:
> >
> > [   29.363664] cloud-init[564]: ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
> > [   29.368568] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
> > [   29.369945] cloud-init[564]: ci-info: | Route |   Destination   |   Gateway   |     Genmask     | Interface | Flags |
> > [   29.372441] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
> > [   29.376434] cloud-init[564]: ci-info: |   0   |     0.0.0.0     | 10.210.64.1 |     0.0.0.0     |    ens3   |   UG  |
> > [   29.377820] cloud-init[564]: ci-info: |   1   |   10.210.64.0   |   0.0.0.0   | 255.255.255.192 |    ens3   |   U   |
> > [   29.380417] cloud-init[564]: ci-info: |   2   | 169.254.169.254 | 10.210.64.6 | 255.255.255.255 |    ens3   |  UGH  |
> > [   29.384448] cloud-init[564]: ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
> >
> > 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.
> >
> > Thanks,
> > Chris
> >
> >



More information about the openstack-discuss mailing list