Bug 2077775 - [OSP16.2] subnet with 0.0.0.0 creates an entry in resolv.conf
Summary: [OSP16.2] subnet with 0.0.0.0 creates an entry in resolv.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 16.2 (Train on RHEL 8.4)
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks: 2077776 2126110
TreeView+ depends on / blocked
 
Reported: 2022-04-22 08:36 UTC by ggrimaux
Modified: 2022-12-22 12:13 UTC (History)
6 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20220409154848.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2126110 (view as bug list)
Environment:
Last Closed: 2022-06-22 16:06:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 838987 0 None MERGED Do not announce any DNS resolver if "0.0.0.0" or "::" provided 2023-04-11 10:01:40 UTC
OpenStack gerrit 838988 0 None MERGED [OVN] Correctly set dns_server in dhcpv4/v6 options 2023-04-11 10:01:41 UTC
Red Hat Issue Tracker OSP-14832 0 None None None 2022-04-22 08:44:11 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:07:00 UTC

Description ggrimaux 2022-04-22 08:36:54 UTC
Description of problem:
If a subnet is created with a dns-nameserver of 0.0.0.0, instances have a dns entry "nameserver 0.0.0.0".
It seems to not be what our doc says should happen.

I think we need to backport this fix:
https://review.opendev.org/c/openstack/neutron/+/822297

Thank you!

Version-Release number of selected component (if applicable):
OSP16.2

How reproducible:
100%

Steps to Reproduce:
1. Set subnet with 0.0.0.0 nameserver
2. Reboot an instance in this subnet
3. resolv.conf in the instance has an entry "nameserver 0.0.0.0"

Actual results:
resolv.conf has an entry with "nameserver 0.0.0.0"

Expected results:
No entry at all

Additional info:
None.

Comment 8 errata-xmlrpc 2022-06-22 16:06:30 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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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-2022:4793


Note You need to log in before you can comment on or make changes to this bug.