[2.5, 2.6, UI, regression] The UI doesn't allow you to undercommit resources in a pod

Bug #1826272 reported by Andres Rodriguez
14
This bug affects 2 people
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.

Tags: ui ux

Related branches

Revision history for this message
Andres Rodriguez (andreserl) wrote :

In this

Revision history for this message
Andres Rodriguez (andreserl) wrote :
Changed in maas:
importance: Undecided → High
milestone: none → 2.6.0beta2
status: New → Triaged
tags: added: ui ux
description: updated
Changed in maas:
assignee: nobody → Caleb Ellis (caleb-ellis)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.