This one is more puzzling than I first thought. It seems you have a
subnet that has no IP addresses in it, and I'm not sure how this can
happen. (the divide by zero you mentioned was due to a /32 subnet, and
we already have unit tests for /32 and /128 subnets.)

Which subnets are defined on your MAAS server? Are you able to log into
the MAAS CLI and tell me which is the problematic subnet? To narrow it
down, run this command against each subnet:

maas <profile> subnet statistics <cidr> include_suggestions=True
include_ranges=True

The one that doesn't work is the one causing the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570606

Title:
  [2.0] subnet.list: list index out of range

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to