← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2056778] [NEW] TestOVNMechanismDriver some ipv6 tests fails if host has ipv6 dns_names configured

 

Public bug reported:

If host where tests are executed has ipv6 dns_servers configured on /etc/resolv.conf two test fails.
The tests are:
- neutron.tests.unit.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestOVNMechanismDriver.test_update_subnet_dhcp_options_in_ovn_ipv6_not_change
- neutron.tests.unit.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestOVNMechanismDriver.test_enable_subnet_dhcp_options_in_ovn_ipv6

This is due to not patching the ovn_utils.get_system_dns_resolvers which ends up looking at host for dns_servers.
This doesn't happen on ipv4 since on the setup the ipv4 dns_servers are set using ovn_conf.cfg.CONF.set_override.

** Affects: neutron
     Importance: Undecided
     Assignee: Arnau Verdaguer (averdagu)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Arnau Verdaguer (averdagu)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2056778

Title:
  TestOVNMechanismDriver some ipv6 tests fails if host has ipv6
  dns_names configured

Status in neutron:
  In Progress

Bug description:
  If host where tests are executed has ipv6 dns_servers configured on /etc/resolv.conf two test fails.
  The tests are:
  - neutron.tests.unit.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestOVNMechanismDriver.test_update_subnet_dhcp_options_in_ovn_ipv6_not_change
  - neutron.tests.unit.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestOVNMechanismDriver.test_enable_subnet_dhcp_options_in_ovn_ipv6

  This is due to not patching the ovn_utils.get_system_dns_resolvers which ends up looking at host for dns_servers.
  This doesn't happen on ipv4 since on the setup the ipv4 dns_servers are set using ovn_conf.cfg.CONF.set_override.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2056778/+subscriptions



Follow ups