Node's hostname field contains a domain part (.local by default)
Bug #1452154 reported by
Raphaël Badin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned |
Bug Description
By default, nodes are named <generated-
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:
Related branches
lp:~blake-rouse/maas/fix-1452154
- Andres Rodriguez (community): Approve
- ubuntudotcom1 (community): Approve
-
Diff: 234 lines (+17/-40)9 files modifiedsrc/maasserver/api/pxeconfig.py (+4/-1)
src/maasserver/api/tests/test_pxeconfig.py (+4/-3)
src/maasserver/fixtures/dev_fixture.yaml (+8/-8)
src/maasserver/forms.py (+0/-1)
src/maasserver/forms_settings.py (+0/-12)
src/maasserver/models/config.py (+0/-1)
src/maasserver/models/node.py (+1/-7)
src/maasserver/models/tests/test_node.py (+0/-3)
src/maasserver/views/tests/test_settings.py (+0/-4)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also related:https:/ /bugs.launchpad .net/maas/ +bug/1439356