[2.5, 2.6, UI, regression] The UI doesn't allow you to undercommit resources in a pod
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Caleb Ellis |
Bug Description
MAAS pod resource under committing and over committing is supported. That means that users can reserve certain set of resources for the host and make less resources than available to the user, and similarly, they can make more resources than available.
So in a machine of 8 cores, doing the following would:
overcommit of 0.5 -> makes 4 cores available for MAAS use
overcommit of 1 -> makes 8 cores available for MAAS use (this is the default)
overcommit of 1.5 -> makes 12 codes available for MAAS use
However, the UI prevents users from selecting a commit level of less than 1, and this is a regression as previous versions of MAAS supported it.
In the attached screenshot, we can see a CPU undercommit of 0.5, This was set over the API. In the same screenshot, we can see that we are unable to change the value for less than 1, and this is supported.
Related branches
- Anthony Dillon: Approve
- Blake Rouse (community): Approve
-
Diff: 21 lines (+2/-2)1 file modifiedsrc/maasserver/static/js/angular/directives/pod_parameters.js (+2/-2)
Changed in maas: | |
assignee: | nobody → Caleb Ellis (caleb-ellis) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
In this