Bug 2213862

Summary: dhcp agent gives wrong route for metadata agent to baremetal nodes
Product: Red Hat OpenStack Reporter: alisci <alisci>
Component: python-networking-ovnAssignee: Miro Tomaska <mtomaska>
Status: CLOSED NEXTRELEASE QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: apevec, bcafarel, egarciar, imatza, jlibosva, lhh, ltamagno, majopela, mariel, mburns, mdemaced, mtomaska, scohen, ykarel
Target Milestone: asyncKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)Flags: mtomaska: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: DFG:Networking
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2249867 (view as bug list) Environment:
Last Closed: 2024-02-09 17:05:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2249867    

Description alisci 2023-06-09 15:47:41 UTC
Description of problem:
Baremetal nodes aren't able to reach out the metadata server


Version-Release number of selected component (if applicable):
OSP 16.2.4 OVN DVR, baremetal nodes are on tenant vlan network


How reproducible:
- deploy a baremetal node RHEL
- curl http://169.254.169.254
curl: (7) Failed to connect to 169.254.169.254 port 80: Connection refused

Actual results:
metadata agent is unreachable

Expected results:
metadata agent is reachable


Additional info:
ironic on overcloud needs dhcpagents to work. the CU is using vlan tenant network and the dhcp used it is from dhcp agents at controller side.