Bug 2249867

Summary: dhcp agent gives wrong route for metadata agent to baremetal nodes
Product: Red Hat OpenStack Reporter: Miro Tomaska <mtomaska>
Component: openstack-neutronAssignee: Miro Tomaska <mtomaska>
Status: CLOSED ERRATA QA Contact: rlobillo
Severity: medium Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: alisci, apevec, chrisw, egarciar, ekuris, imatza, jlibosva, lhh, majopela, mariel, mblue, mburns, mtomaska, rlobillo, scohen, ykarel
Target Milestone: z3Keywords: Triaged
Target Release: 17.1Flags: mtomaska: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: DFG:Networking
Fixed In Version: openstack-neutron-18.6.1-17.1.20231025110810.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2213862 Environment:
Last Closed: 2024-05-22 20:39:47 UTC Type: ---
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: 2213862    
Bug Blocks:    

Comment 7 rlobillo 2024-04-16 09:25:51 UTC
Verified installation OCP4.15.8 Baremetal Workers installation on top of RHOS-17.1-RHEL-9-20240329.n.1. The metadata is accessible from baremetal workers without extra host_routes:


'''
(shiftstack) [stack@undercloud-0 ~]$ openstack subnet show provisioning_subnet -c host_routes`
+-------------+-------+
| Field       | Value |
+-------------+-------+
| host_routes |       |
+-------------+-------+
(shiftstack) [stack@undercloud-0 ~]$ ssh core.7.158
[...]
[core@ostest-nbp6d-worker-0-nzxlq ~]$ curl -s http://169.254.169.254/openstack/2012-08-10/meta_data.json
{"uuid": "0a514c6c-0546-416c-a155-aab0fde906f6", "meta": {"Name": "ostest-nbp6d-worker", "openshiftClusterID": "ostest-nbp6d"}, "hostname": "ostest-nbp6d-worker-0-nzxlq", "name": "ostest-nbp6d-worker-0-nzxlq", "launch_index": 0, "availability_zone": "nova"}
'''

Comment 16 errata-xmlrpc 2024-05-22 20:39:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 17.1.3 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:2741