dns does not work in MAAS 14.04 ephemeral system booted with rooturl
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/
$ ls -l /etc/network/
lrwxrwxrwx 1 root root 36 Oct 26 22:21 /etc/network/
That file is managed populated by cloud-initramfs
cloudd-
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
ProcVersionSign
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
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-initramfs
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cloud-initramfs-tools (Ubuntu Trusty): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
no longer affects: | cloud-initramfs-tools (Ubuntu) |
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.