Cannot change default domain
Bug #1756745 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo | ||
2.4 |
Triaged
|
High
|
Unassigned |
Bug Description
My maas is serving a local domain 'foo'. I can create that domain and assign machines to it, but the old 'maas' domain stays around and is the default everywhere. I would like to be able to make 'foo' the default domain, and to remove the 'maas' domain altogether.
Related branches
~mpontillo/maas:default-domain-ui--bug-1756745
Merged
into
maas:master
- Lee Trager (community): Approve
- Kit Randel (community): Approve
-
Diff: 334 lines (+173/-14)7 files modifiedsrc/maasserver/static/js/angular/controllers/domains_list.js (+14/-0)
src/maasserver/static/js/angular/controllers/tests/test_domains_list.js (+41/-0)
src/maasserver/static/js/angular/factories/domains.js (+15/-2)
src/maasserver/static/js/angular/factories/tests/test_domains.js (+29/-1)
src/maasserver/static/partials/domains-list.html (+41/-11)
src/maasserver/websockets/handlers/domain.py (+11/-0)
src/maasserver/websockets/handlers/tests/test_domain.py (+22/-0)
~mpontillo/maas:set-default-domain--api
Merged
into
maas:master
- Blake Rouse (community): Approve
- MAAS Lander: Approve
-
Diff: 304 lines (+150/-6)8 files modifiedsrc/maasserver/api/domains.py (+30/-3)
src/maasserver/api/nodes.py (+1/-0)
src/maasserver/api/tests/test_domains.py (+46/-0)
src/maasserver/api/tests/test_enlistment.py (+1/-0)
src/maasserver/api/tests/test_machines.py (+1/-1)
src/maasserver/models/domain.py (+6/-2)
src/maasserver/models/globaldefault.py (+24/-0)
src/maasserver/models/tests/test_globaldefault.py (+41/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.4.x |
Changed in maas: | |
milestone: | 2.4.x → 2.4.0rc1 |
Changed in maas: | |
milestone: | 2.4.0rc1 → 2.4.0rc2 |
Changed in maas: | |
milestone: | 2.4.0rc2 → 2.5.0 |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.0beta2 |
Changed in maas: | |
milestone: | 2.5.0beta2 → 2.5.0rc1 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.0beta2 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
@Mark,
I just want to note that in the next release (likely beta1), we will have UI that will allow users to change the default domain from maas to 'foo'. It is already possible to do this over the API.
Do you think that by adding the UI to allow to change the name of the default domain, it is enough to address this issue, or do you think that we should also have the ability to set the default?