Well, MAAS will automatically create subnets for you if it sees them
attached to a registered rack controller. That is probably how you got
the /31. (but you can use "maas maas subnets read" to grab of all of
them from the API.)

If you want to test the proposed fix, take a look at the linked merge
proposal here:

https://code.launchpad.net/~mpontillo/maas/fix-1570606/+merge/291957

Then make the same change I made to this file on your MAAS server:

/usr/lib/python3/dist-packages/provisioningserver/utils/network.py

** Summary changed:

- [2.0] subnet.list: list index out of range
+ [2.0] subnet.list: list index out of range error when using a /31 subnet

-- 
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 error when using a /31
  subnet

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