dns does not work in MAAS 14.04 ephemeral system booted with rooturl

Bug #1730512 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-initramfs-tools (Ubuntu)
Trusty
Confirmed
Medium
Unassigned

Bug Description

This is similar to bug 1711760, but the fix will occur in a different
package, so I've opened a different bug.

In MAAS images built by 'maas-images' prject [1], the /etc/resolv.conf
file in Ubuntu 12.04 is a symlink to /run/network/dynamic-interfaces
  $ ls -l /etc/network/interfaces
  lrwxrwxrwx 1 root root 36 Oct 26 22:21 /etc/network/interfaces -> ../../run/network/dynamic-interfaces

That file is managed populated by cloud-initramfs-dyn-netconf.
cloudd-initramfs-dyn-netconf and open-iscsi worked together to bring up
the network and get resolvconf populated correctly in 12.04.

When MAAS moved to using rooturl, the for its install and ephemeral
environment, open-iscsi was not involved to populate resolvconf, and
DNS no longer worked as expected.

Related bugs:
 * bug 1711760: [2.3] resolv.conf is not set (during commissioning or testing)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-initramfs-dyn-netconf 0.25ubuntu1.14.04.2
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.25
Architecture: amd64
Date: Mon Nov 6 21:48:08 2017
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: cloud-initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
summary: - dns does not work in system booted with rooturl.
+ dns does not work in MAAS 14.04 ephemeral system booted with rooturl
Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-initramfs-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser)
Changed in cloud-initramfs-tools (Ubuntu Trusty):
status: New → Confirmed
importance: Undecided → Medium
no longer affects: cloud-initramfs-tools (Ubuntu)
Revision history for this message
Scott Moser (smoser) wrote :

I decided to give the resolvconf patch a try on 14.04 as
it makes sense to use the same code if possible.

the change applied easily and seems to work fine, so using resolvconf.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.