yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #93044
[Bug 1982569] Re: [OVN] metadata does not work when using neutron-dhcp-agent for baremetal ports
Reviewed: https://review.opendev.org/c/openstack/neutron/+/886988
Committed: https://opendev.org/openstack/neutron/commit/82f2a21d1c9e27999d3fd7006a7ecf961039a370
Submitter: "Zuul (22348)"
Branch: master
commit 82f2a21d1c9e27999d3fd7006a7ecf961039a370
Author: yatinkarel <ykarel@xxxxxxxxxx>
Date: Mon Jun 26 21:17:48 2023 +0530
[DHCP agent] Add route to OVN metadata port if exists
When DHCP agent is deployed with ml2/ovn for baremetal
ports, ovn metadata route is not added.
This patch adds route via ovn metadata port if exists
so baremetal nodes can fetch metadata.
Closes-Bug: #1982569
Related-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2213862
Change-Id: I12e496d70bb6db707b317d0aeb6e4edd6c43571e
** Changed in: neutron
Status: In Progress => Fix Released
** Bug watch added: Red Hat Bugzilla #2213862
https://bugzilla.redhat.com/show_bug.cgi?id=2213862
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1982569
Title:
[OVN] metadata does not work when using neutron-dhcp-agent for
baremetal ports
Status in neutron:
Fix Released
Bug description:
When using neutron-dhcp-agent for Ironic/baremetal ports - DHCP injects a route to 169.254.169.254 via the routers ip.
That's incorrect, because neutron ovn metadata agent is listening on a dedicated port (network:distributed).
Example:
# ip r l
default via 10.209.0.1 dev eno1
10.209.0.0/16 dev eno1 proto kernel scope link src 10.209.3.225
169.254.169.254 via 10.209.0.1 dev eno1
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
ping 169.254.169.254
PING 169.254.169.254 (169.254.169.254) 56(84) bytes of data.
^C
--- 169.254.169.254 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1017ms
# ip r d 169.254.169.254
# ip r a 169.254.169.254 via 10.209.0.2
# curl 169.254.169.254
1.0
2007-01-19
2007-03-01
2007-08-29
2007-10-10
2007-12-15
2008-02-01
2008-09-01
2009-04-04
OVN version: 21.12
OVS version: 2.16.0
OpenStack release: Wallaby
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1982569/+subscriptions
References