The cluster controller detection algorithm considers all the interfaces (and not only the managed interfaces).
Bug #1085823 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin | ||
1.2 |
Fix Released
|
Critical
|
Raphaël Badin |
Bug Description
The problem with that is that the nodes can be attached to the wrong cluster controller because interfaces are autodetected by the packaging.
The utility method find_nodegroup, used to detect the origin of a request and attach it to a particular nodegroup (aka cluster controller), considers all the interfaces attached to a nodegroup; it should only take the managed interface into account.
Related branches
lp:~rvb/maas/configured-interf
- Julian Edwards (community): Approve
-
Diff: 68 lines (+24/-3)2 files modifiedsrc/maasserver/utils/__init__.py (+12/-2)
src/maasserver/utils/tests/test_utils.py (+12/-1)
lp:~rvb/maas/configured-interf-1.2
- Raphaël Badin (community): Approve
-
Diff: 68 lines (+24/-3)2 files modifiedsrc/maasserver/utils/__init__.py (+12/-2)
src/maasserver/utils/tests/test_utils.py (+12/-1)
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
description: | updated |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
description: | updated |
To post a comment you must log in.
FWIW it would be useful to state on this sort of bug what the
consequences are without this change, as it would help justify the priority.