Public bug reported:

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

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1559711

Title:
  DHCP.leases: Lease without mac address generated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1559711/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to