[feature, pod, b1] Allows setting/disabling overcommit of resources (and ratio)
Bug #1706458 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Wishlist
|
Newell Jensen |
Bug Description
MAAS will allocate new VMs from a pod even when resources are exhausted:
Here's the output of 'pods read' from my MAAS:
http://
pod 1 has negative availability numbers,and it keeps on handing out new VMs in response to allocate requests:
},
Once resources are exhausted, the allocate request should fail.
This is with 2.2.2 (6094-g78d97d0-
Related branches
~newell-jensen/maas:over-commit-ws-api-ui
Merged
into
maas:master
- Blake Rouse (community): Approve
- MAAS Lander: Needs Fixing
- Alberto Donato: Needs Information
-
Diff: 383 lines (+147/-11)12 files modifiedsrc/maasserver/api/pods.py (+8/-0)
src/maasserver/api/tests/test_pods.py (+10/-4)
src/maasserver/forms/pods.py (+23/-0)
src/maasserver/forms/tests/test_pods.py (+9/-3)
src/maasserver/static/js/angular/controllers/pods_list.js (+6/-1)
src/maasserver/static/js/angular/controllers/tests/test_pods_list.js (+2/-0)
src/maasserver/static/js/angular/directives/maas_obj_form.js (+30/-0)
src/maasserver/static/js/angular/directives/pod_parameters.js (+13/-0)
src/maasserver/static/js/angular/directives/tests/test_maas_obj_form.js (+31/-0)
src/maasserver/static/js/angular/directives/tests/test_pod_parameters.js (+8/-0)
src/maasserver/websockets/handlers/pod.py (+1/-1)
src/maasserver/websockets/handlers/tests/test_pod.py (+6/-2)
description: | updated |
Changed in maas: | |
milestone: | none → 2.3.0 |
tags: | added: pod |
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Newell Jensen (newell-jensen) |
tags: | added: foundations-engine |
Changed in maas: | |
assignee: | Newell Jensen (newell-jensen) → nobody |
tags: | added: internal |
Changed in maas: | |
milestone: | 2.3.0 → next |
milestone: | next → 2.3.x |
Changed in maas: | |
milestone: | 2.3.x → 2.4.x |
assignee: | nobody → Newell Jensen (newell-jensen) |
summary: |
- MAAS tries to allocate VMs from pods even when resources are exhausted + [feature, KVM pod] Allows setting/disabling overcommit of resources |
summary: |
- [feature, KVM pod] Allows setting/disabling overcommit of resources + [feature, KVM pod] Allows setting/disabling overcommit of resources (and + ratio) |
Changed in maas: | |
milestone: | 2.4.x → 2.4.0beta1 |
summary: |
- [feature, KVM pod] Allows setting/disabling overcommit of resources (and + [feature, pod, b1] Allows setting/disabling overcommit of resources (and ratio) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If you look at the capabilities of a virsh pod it has OVER_COMMIT. Which means that MAAS will keep using that Pod, over the available resources.
It currently doesn't support the ability to set the over commit ratio.