Commissioning now requires an IP address to be available for each network interface on a network MAAS manages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
1.7 |
Fix Released
|
Critical
|
Jason Hobbs |
Bug Description
Merges for https:/
This means that where systems previously only required 1 IP address to commission, they now can require two or more. This breaks existing deployments with IP address ranges already allocated to match the previous 1 IP per node requirement, causing their dynamic DHCP pools to become exhausted.
This bug was reported by an end user and I verified it on my own system.
This is with 1.7.0~beta7+
Related branches
- Gavin Panella (community): Approve
- Christian Reis (community): Needs Information
-
Diff: 189 lines (+65/-8)5 files modifiedsrc/maasserver/forms_settings.py (+10/-0)
src/maasserver/models/config.py (+1/-0)
src/metadataserver/api.py (+5/-3)
src/metadataserver/models/commissioningscript.py (+22/-5)
src/metadataserver/models/tests/test_noderesults.py (+27/-0)
- Raphaël Badin (community): Approve
-
Diff: 189 lines (+65/-8)5 files modifiedsrc/maasserver/forms_settings.py (+10/-0)
src/maasserver/models/config.py (+1/-0)
src/metadataserver/api.py (+5/-3)
src/metadataserver/models/commissioningscript.py (+22/-5)
src/metadataserver/models/tests/test_noderesults.py (+27/-0)
- Julian Edwards (community): Approve
- Christian Reis (community): Approve
-
Diff: 36 lines (+13/-3)2 files modifieddebian/changelog (+12/-2)
debian/rules (+1/-1)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | next → 1.7.1 |
Changed in maas: | |
milestone: | 1.7.1 → next |
Changed in maas: | |
assignee: | Jason Hobbs (jason-hobbs) → nobody |
Changed in maas: | |
status: | Triaged → Fix Released |
milestone: | next → none |
I think the right fix for this is to not take out a full lease to do discovery on the nodes. DHCP does this establish. a lease
Client: Request
Server: Response <details>
Client: Reuest <details>
To discover, we only need this, which won't establish a lease:
Client: Request
Server: Response <details>