maas 2 adds multiple DNS entries for nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
MAAS 2.0 appears to be generating two DNS entries for a node, one for just the bare hostname, and one with the network device its using prepended.
This means we end up with dns entries like:
$ host sleety-alfredo.maas
sleety-alfredo.maas has address 10.48.0.32
$ host 10.48.0.32
32.0.48.
32.0.48.
Many charms use the results from dns to find the hostname, in particularly charmhelpers.
This means I'm seeing results like from rabbitmq-server charm:
2016-05-23 02:38:24 INFO juju-log local nodename: eth0
This isn't working terribly well as you could imagine.
How do we tell MAAS 2.0 to not write out the network device related DNS entry? I've been investigating the docs, but I haven't found much. Having to change all the charms to deal with this will be quite a bit of work.
Changed in maas: | |
milestone: | 2.0.0 → none |
FWIW this will eventually work as it's returning the DNS in round robin, so the next retry of the hook should work fine. Regardless, this seems suboptimal to force it to have 2 hook runs to work.