Node's hostname field contains a domain part (.local by default)

Bug #1452154 reported by Raphaël Badin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

By default, nodes are named <generated-hostname>.local. That's what gets stored in the 'hostname' field of a node. This was introduced long ago when MAAS was using avahi by default. Now that MAAS no longer uses avahi, this is no longer required; more than that, this "feature" has created a lot of confusion and bugs.

The problem with changing this is, of course, upgrades: we can't just change the node hostname validation mechanism to refuse domain parts in hostname because existing nodes would not be valid anymore. What I suggest we do for now is leave existing nodes alone but drop the ".local" suffix for newly created nodes.

List of related bugs:

- bug 1274101
- bug 1452053

Related branches

Revision history for this message
Carla Berkers (carlaberkers) wrote :
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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