DHCP.leases: Lease without mac address generated

Bug #1559711 reported by Martin Nowack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
Critical
Unassigned

Bug Description

Following lease entry was generated in dhcp.leases:

lease x.x.x.x {
  starts 0 2016/03/20 13:30:00;
  ends 0 2016/03/20 13:30:00;
  cltt 0 2016/03/20 13:30:00;
  binding state free;
}

This entry doesn't contain a "hardware ethernet ..." entry,
therefore dhcp/leases_parser_fast.py fails.

Replacing line 78 with the following works around the issue:
            if not has_expired(entry, now) and hasattr(entry.hardware, 'mac'):

maas-cluster-controller:
  Installed: 1.9.1+bzr4543-0ubuntu1~trusty1
  Candidate: 1.9.1+bzr4543-0ubuntu1~trusty1
  Version table:
 *** 1.9.1+bzr4543-0ubuntu1~trusty1 0
        500 http://ppa.launchpad.net/maas-maintainers/stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.6+bzr3376-0ubuntu2~14.04.1 0
        500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     1.5.4+bzr2294-0ubuntu1.2 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1.5+bzr2252-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

no longer affects: maas (Ubuntu)
Changed in maas:
milestone: none → 1.9.2
importance: Undecided → Critical
Gavin Panella (allenap)
Changed in maas:
status: New → Triaged
Changed in maas:
milestone: 1.9.2 → 1.9.3
Changed in maas:
milestone: 1.9.3 → 1.9.4
Changed in maas:
milestone: 1.9.4 → 1.9.5
Revision history for this message
Andres Rodriguez (andreserl) wrote :

We believe that this is not longer an issue in the latest releases of MAAS. If you believe this is still an issue, please re-open this bug report and target it accordingly.

Changed in maas:
status: Triaged → Won't Fix
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.