When MAAS has too many leases, and lease parsing fails, MAAS fails to auto-map NIC with network
Bug #1387859 reported by
Larry Michel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Julian Edwards | ||
1.7 |
Fix Released
|
Critical
|
Raphaƫl Badin | ||
maas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We started seeing system which after re-commissioning stopped showing IP addresses on the MAAS UI. Deployment would then work, but no static IP would be displayed. System could be sshed into using dynamic IP allocated (fetched from dhcp lease file), but there was no DHCP entry setup, so juju bootstrap which uses DNS to connect to bootstrap node would fail.
From IRC conversation bout this issue, roaksoax said: "During commissioning, we have 4 NIC's+ which increments the number of leases that stay on the leases file. The parser fails to parse when the lease file is too big".
Related branches
lp:~julian-edwards/maas/pxeconfig-updates-cluster-interface-bug-1387859
- Graham Binns (community): Approve
-
Diff: 352 lines (+96/-109)7 files modifiedsrc/maasserver/api/pxeconfig.py (+5/-1)
src/maasserver/api/tests/test_pxeconfig.py (+14/-0)
src/maasserver/models/macaddress.py (+33/-32)
src/maasserver/models/node.py (+9/-5)
src/maasserver/models/tests/test_macaddress.py (+35/-44)
src/maasserver/rpc/leases.py (+0/-2)
src/maasserver/rpc/tests/test_regionservice.py (+0/-25)
lp:~rvb/maas/bug-1387859-1.7
- Blake Rouse (community): Approve
-
Diff: 369 lines (+102/-107)8 files modifieddocs/changelog.rst (+9/-0)
src/maasserver/api/pxeconfig.py (+5/-0)
src/maasserver/api/tests/test_pxeconfig.py (+14/-0)
src/maasserver/models/macaddress.py (+33/-32)
src/maasserver/models/node.py (+6/-4)
src/maasserver/models/tests/test_macaddress.py (+35/-44)
src/maasserver/rpc/leases.py (+0/-2)
src/maasserver/rpc/tests/test_regionservice.py (+0/-25)
Changed in maas: | |
milestone: | none → 1.7.1 |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 1.7.1 → next |
tags: |
added: verification-done removed: verification-needed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
milestone: | next → none |
To post a comment you must log in.
These are the log files.