Comment 1 for bug 1714028

Revision history for this message
Ryan Harper (raharper) wrote : Re: artful network vmtests fail now that ifdown command is removed

Running an Artful image from 2017-08-30 I observe the following issues:

1) This image contains ifupdown package (which means cloud-init will render eni); that's the default cloud-init policy
2) systemd-networkd-wait-online is enabled in addition to the 'networking' service; this are somewhat equivalent w.r.t waiting till networking is up

Networkd runs (but has no config, so does nothing)
Networking runs (which hooks the ifup commands on interfaces)
dhclient runs and performs dhcp on the specified interfaces
however, the aliased interfaces which include dns-* values
get skipped due to 'resolvconf' package not being present in the image

Systemd-resolved --status output shows that none of the eni related dns-* entries
are present:

Global
         DNS Servers: 10.0.2.3
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

In particular, the eni configuration includes this bit:

# control-alias interface1
iface interface1 inet static
    address 10.0.2.200/24
    dns-nameservers 8.8.8.8
    dns-search barley.maas

which should mean we get 8.8.8.8 in our DNS list, but it's not present.