No warning when a static IP range is close to running out of IPs
Bug #1393936 reported by
Christian Reis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Wishlist
|
Mike Pontillo |
Bug Description
When a cluster's static IP range is running out of addresses (say, 20 or 10% free) we should warn the user/admin that the cluster is about to run out.
This could be checked at deployment time, when we allocate a new IP address to a node, and a cluster-specific warning be raised.
In terms of providing feedback:
- We should at the very least log
- A high-level warning on the cluster listing page
- A warning on the cluster interface page
Related branches
lp://staging/~mpontillo/maas/iprange-notifications--bug-1393936
- Blake Rouse (community): Approve
- MAAS Maintainers: Pending requested
-
Diff: 570 lines (+394/-16)7 files modifiedsrc/maasserver/forms/settings.py (+22/-13)
src/maasserver/models/config.py (+3/-1)
src/maasserver/models/signals/__init__.py (+2/-0)
src/maasserver/models/signals/iprange.py (+42/-0)
src/maasserver/models/signals/staticipaddress.py (+21/-0)
src/maasserver/models/subnet.py (+48/-0)
src/maasserver/models/tests/test_subnet.py (+256/-2)
summary: |
- Warn when the static IP range is close to running out of IPs to hand out + No warning when a static IP range is close to running out of IPs |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → next |
Changed in maas: | |
importance: | High → Wishlist |
tags: | added: notifications |
Changed in maas: | |
milestone: | next → 2.2.0 |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
milestone: | 2.2.0 → 2.2.0rc2 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 2.2.0rc2 → 2.2.0rc3 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.