When MAAS has too many leases, and lease parsing fails, MAAS fails to auto-map NIC with network

Bug #1387859 reported by Larry Michel
10
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

Revision history for this message
Larry Michel (lmic) wrote :

These are the log files.

Christian Reis (kiko)
Changed in maas:
milestone: none → 1.7.1
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is another reason to get rid of lease parsing. As discussed in another bug, we can make commissioning nodes send the relevent interface info back in the commissioning results.

Changed in maas:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Christian Reis (kiko) wrote :

With 1.7RC1 this problem will be alleviated due to Gavin's work compressing the leases file; it should scale up to 4000 leases. However, Julian is right that lease parsing should probably go away -- we should start a design doc to discuss that.

Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Christian Reis (kiko)
Changed in maas:
milestone: 1.7.1 → next
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Larry, or anyone else affected,

Accepted maas into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/maas/1.7.5+bzr3369-0ubuntu1~14.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Andres Rodriguez (andreserl) wrote :

This issue has been verified to work both on upgrade and fresh install, and has been QA'd. Marking verification-done.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maas - 1.7.6+bzr3376-0ubuntu2~14.04.1

---------------
maas (1.7.6+bzr3376-0ubuntu2~14.04.1) trusty; urgency=medium

  * debian/control: Make maas-dns a Dependy of maas-region-controller.
  * debian/maas-region-controller.postinst: Ensure DNS config migration is
    always run. (LP: #1413388)

 -- Andres Rodriguez <email address hidden> Fri, 10 Jul 2015 13:47:40 -0400

Changed in maas (Ubuntu):
status: New → Fix Released
Changed in maas:
status: Fix Committed → Fix Released
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.