Bug 2155745

Summary: A DNS server is added to an instance even though the subnet's dns servers field is empty
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: python-networking-ovnAssignee: OSP Team <rhos-maint>
Status: NEW --- QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: apevec, lhh, majopela, scohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Itzik Brown 2022-12-22 08:02:22 UTC
Description of problem:
A server has two networks.
One of the networks has a subnet with empty dns_nameservers field.

When looking into the instance's /etc/resolv.conf a nameserver from the Controller's /etc/resolv.conf is added

Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20221206.n.1

How reproducible:
100%

Steps to Reproduce:
As mentioned in the description

Actual results:
A DNS server is added even when the subnet has empty dns_nameservers field.

Expected results:
No DNS server will be added when a subnet has empty dns_nameservers field.


Additional info: