[2.2.0rc3] Pod remaining cores can go below zero

Bug #1698766 reported by Данило Шеган
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Anthony Dillon
2.2
Won't Fix
High
Unassigned

Bug Description

As noted in bug #1687305, number of available pod cores can go below zero (https://bugs.launchpad.net/maas/+bug/1687305/comments/4).

It seems to be as simple as overcommitting the pod would do that (which is quite expected with VMs).

We should probably instead display core utilisation for the pod, eg. percentage if number of used cores is less than the number of actual cores, and factor of utilisation if it's more.

Eg. 5/8 (VMs with 5 cores total, 8 available on the pod) would display "63%", and 17/8 would display "2.25x" as core utilisation.

This might be a breaking API change, though pods are a new feature in 2.2, so no big harm imo.

Tags: pod

Related branches

summary: - Pod remaining cores can go below zero
+ [2.2.0rc3] Pod remaining cores can go below zero
Changed in maas:
milestone: 2.3.0 → 2.3.x
Changed in maas:
milestone: 2.3.x → 2.4.x
Revision history for this message
Lee Trager (ltrager) wrote :

Instead of using a CPU percentage we may want to show the load[1] of the system. We can say something like this Pod has 8 CPU Cores with a load of 9.7. This will require the user understand the concept of load but its a pretty universal computing concept which most MAAS users should already understand.

[1] https://en.wikipedia.org/wiki/Load_(computing)

Changed in maas:
milestone: 2.4.x → 2.5.x
Revision history for this message
Andres Rodriguez (andreserl) wrote :

ASsigning this to Lilyana since she has been working on the designs.

@Lilyana, Once the developer starts working on this UI, please re-assign it to him.

Changed in maas:
milestone: 2.5.x → 2.5.0beta2
status: Triaged → In Progress
assignee: nobody → Lilyana Videnova (lilyanavidenova)
Changed in maas:
milestone: 2.5.0beta2 → 2.5.0rc1
Changed in maas:
assignee: Lilyana Videnova (lilyanavidenova) → Anthony Dillon (ya-bo-ng)
Changed in maas:
status: In Progress → 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.

Other bug subscribers

Remote bug watches

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