Workaround to avoid connectivity problems from ubuntu VM instances

With some recent ubuntu release, routes to nameservers are added to VLAN
interfaces. This breaks some tests when they are executed in downstream
jobs because the affected VM instances are unable to reach the external
gateway

Change-Id: Ica2d029792b543222193cfd4175edc15f0b981ab
This commit is contained in:
Eduardo Olivares 2023-04-27 13:08:37 +02:00
parent 109802be5f
commit 556f60bfc2
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,11 @@ OPTIONS = [
default=24,
help="The mask bits for IPv4 subnets"),
cfg.ListOpt('ipv4_dns_nameservers',
default=None,
# This value is a workaround to avoid UbuntuExternalPortTest
# failures - with certain ubuntu images, routes to the
# nameservers were added to a VLAN interface, breaking
# connectivity from the VMs to the external network.
default=["8.8.8.8"],
help="List of nameservers IPv4 addresses"),
cfg.StrOpt('ipv6_cidr',
default='fc00::/48',