[2.5, UI] Pod core counts are inconsistent

Bug #1811662 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Steve Rydz
2.5
Fix Released
High
Unassigned

Bug Description

This is with MAAS 2.5.1-7489-g2f25a2cc0-0ubuntu1~18.04.1.

I register a pod on a machine that has 4 physical cores. I set the CPU
overcommit ratio to 4.7.

Now I see different core counts all over the place:

  * pod listing says '-9 free of 4'
  * pod overview page says '13 used, 5.8 available'
  * pod compose page says '4 available'

Tags: ui

Related branches

tags: added: ui
Changed in maas:
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → High
milestone: none → 2.5.1
Changed in maas:
milestone: 2.5.1 → 2.5.2
Revision history for this message
Lilyana Videnova (lilyanavidenova) wrote :

Similarly the RAM amounts differ between the three places.

The correct number of used, available and total cores and RAM are displayed on the overview page as they take into account the overcommit ratios applied to them.

The other two places should use the same information:

     - on the listing page the used and total number of cores/amount of RAM after the overcommit is applied should be shown with a tooltip telling the user what the "real" number of cores/amount of RAM is and what overcommit ratio is applied. For the example above the row in the listing page would read "5.8 free of 18.8", with a tooltip reading "4 cores x 4.7 CPU overcommit".

    - the compose page should say 5.8 available; as the user would have first seen both the listing and the individual pod overview page, the detail of what the overcommit ratio is can be omitted, in order not to make the sublabel of the field too long.

Changed in maas:
assignee: nobody → Steve Rydz (steverydz)
Steve Rydz (steverydz)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 2.5.2 → 2.6.0
Changed in maas:
milestone: 2.6.0 → 2.6.0alpha1
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.