Duplicate FQDN can be configured on MAAS via CLI or API
Bug #1349254 reported by
Takenori MATSUMOTO
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jason Hobbs |
Bug Description
It makes sense to be able to:
1. Raise error response in case of user specify duplicated hostname via MAAS GUI or API.
But this can't be done, because MAAS can configure duplicated hostname.
Related branches
lp:~jason-hobbs/maas/prevent-adding-duplicates-fqdns-bug-1349254
- Graham Binns (community): Approve
-
Diff: 138 lines (+79/-7)3 files modifiedsrc/maasserver/forms.py (+18/-0)
src/maasserver/models/node.py (+27/-7)
src/maasserver/tests/test_forms.py (+34/-0)
summary: |
- Duplicate hostname can be configured on MAAS + Duplicate hostname can be configured on MAAS via CLI or API |
Changed in maas: | |
assignee: | nobody → Jason Hobbs (jason-hobbs) |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
summary: |
- Duplicate hostname can be configured on MAAS via CLI or API + Duplicate FQDN can be configured on MAAS via CLI or API |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Takenori,
The database has a unique key on hostname, can you tell me exactly what you're
doing to achieve the duplicate please?