A node's nodegroup is autodetected using the request's IP even when the request is a manual API/CLI call
Bug #1274926 reported by
Raphaël Badin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
When a node is enlisted using the API, src/maasserver/
Related branches
lp:~julian-edwards/maas/enlist-nodegroup-bug-1274926
- Jeroen T. Vermeulen (community): Approve
-
Diff: 304 lines (+62/-0)3 files modifiedsrc/maasserver/api.py (+12/-0)
src/maasserver/tests/test_api_enlistment.py (+47/-0)
src/maasserver/tests/test_api_nodes.py (+3/-0)
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.
Oh dear!
I think keeping the auto detection is right, we just need a way for an API client to override in which nodegroup[ interface] it belongs.