Almost impossible to provide a valid nodegroup ID when enlisting new node on API
Bug #1282828 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
nodegroup is a required parameter when not using autodetect, but the NodeGroupFormField only accepts:
* blank, for the master cluster
* an actual nodegroup object
* the database ID field
None of these is actually useful for the API. We need it to also validate
* cluster_name
* uuid
Related branches
lp:~julian-edwards/maas/nodegroup-by-name-bug-1282828
- Jeroen T. Vermeulen (community): Approve
-
Diff: 56 lines (+24/-4)2 files modifiedsrc/maasserver/fields.py (+12/-4)
src/maasserver/tests/test_fields.py (+12/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 14.04 |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.