No warning when the dynamic IP range is close to exhaustion
Bug #1393944 reported by
Christian Reis
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Wishlist
|
Mike Pontillo |
Bug Description
This is not deja vu; you just looked at bug 1393936 first.
When a cluster's dynamic 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 lease parsing time, and a cluster-specific warning be raised.
In terms of providing feedback:
- A UI component warning might be advisable, since the failure mode is pretty bad (enlistment, commissioning, containers and VMs fail) and it is largely driven by external action
- A high-level warning on the cluster listing page
- A warning on the cluster interface page
- We should find a way to log without spamming the logs every time the log parser runs
summary: |
- Warn when the dynamic IP range is close to exhaustion + No warning when the dynamic IP range is close to exhaustion |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → next |
Changed in maas: | |
milestone: | 2.0.1 → 2.1.0 |
tags: | added: notifications |
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
milestone: | 2.1.2 → 2.1.3 |
Changed in maas: | |
milestone: | 2.1.3 → 2.2.0 |
tags: | removed: cdo-qa-blocker |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
milestone: | 2.2.0 → 2.2.0rc2 |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
To post a comment you must log in.
What is the plan and time line to address this bug?
Some type of warning in the MAAS logs or UI would be nice but the impact to uses when the dynamic pool is exhausted is quite high. As mentioned in the description, containers fail. One example of this is deployment of Openstack, using LDS Autopilot. The user starts a cloud deployment from their browser and ends up with an Autopilot status that waits forever for LXC machines to start. If MAAS could raise a message in a way that Autopilot could detect there is an exhaustion issue or query MAAS up front for a dangerously low number of available IPs, then the user experience could be improved.