yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96327
[Bug 2121346] [NEW] DNS record is created for port even dns-publish-fixed-ip is not enable on subnet
Public bug reported:
Step to reproduce issue.
Create network(virtual-net) with dns_zone(lon.testing.com.)
A subnet (virtual-net-subnet) with DNS Publish Fixed IP diabled.
Create another subnet(subnet-dns-publish-fixed-ip) with with DNS Publish
Fixed IP enabled.
Create a port with subnet virtual-net-subnet.
dns record created in the server for port even flag dns_publish_fixed_ip
is disable for subnet.
When checked in code I found below code which cause issue . which check
if any subnet in network is enable the "dns_publish_fixed_ip" flag then
created record.
in file neutron/plugins/ml2/extensions/dns_integration.py
def external_dns_not_needed(self, context, network, subnets):
dns_driver = _get_dns_driver()
if not dns_driver:
return True
for subnet in subnets:
if subnet.get('dns_publish_fixed_ip'):
return False
if network['router:external']:
return True
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2121346
Title:
DNS record is created for port even dns-publish-fixed-ip is not enable
on subnet
Status in neutron:
New
Bug description:
Step to reproduce issue.
Create network(virtual-net) with dns_zone(lon.testing.com.)
A subnet (virtual-net-subnet) with DNS Publish Fixed IP diabled.
Create another subnet(subnet-dns-publish-fixed-ip) with with DNS
Publish Fixed IP enabled.
Create a port with subnet virtual-net-subnet.
dns record created in the server for port even flag
dns_publish_fixed_ip is disable for subnet.
When checked in code I found below code which cause issue . which
check if any subnet in network is enable the "dns_publish_fixed_ip"
flag then created record.
in file neutron/plugins/ml2/extensions/dns_integration.py
def external_dns_not_needed(self, context, network, subnets):
dns_driver = _get_dns_driver()
if not dns_driver:
return True
for subnet in subnets:
if subnet.get('dns_publish_fixed_ip'):
return False
if network['router:external']:
return True
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2121346/+subscriptions