← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1397917] Re: Clarify vCPUs Usage legend for hypervisors

 

Reviewed:  https://review.opendev.org/c/openstack/horizon/+/906004
Committed: https://opendev.org/openstack/horizon/commit/3acbf227a41493032c5828945d41d0b193cd960b
Submitter: "Zuul (22348)"
Branch:    master

commit 3acbf227a41493032c5828945d41d0b193cd960b
Author: Tatiana Ovchinnikova <t.v.ovtchinnikova@xxxxxxxxx>
Date:   Wed Jan 17 14:52:37 2024 -0600

    Add allocation ratios to Placement stats
    
    All the Placement API stats "total" show the actual amount of the
    resource that the provider can accommodate. Using allocation ratio
    it is possible to exceed physical constraints.
    
    This patch uses allocation ratios to display the diagrams properly
    and adds the data to the stats table.
    
    Closes-Bug: #1974470
    Closes-Bug: #1397917
    
    Change-Id: Iab0ce21ae63f4cc26d3ec5684615189b8ab35231


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1397917

Title:
  Clarify vCPUs Usage legend for hypervisors

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The vCPUs usage chart is confusing because it can end up with values
  like "Used 5 of 4".

  (see e.g.
  https://launchpadlibrarian.net/155236888/Nova_bug_1202965.png which
  was posted on bug 1202965)

  This may be improved in Nova as part of bug 1202965 but I think if it
  is possible we should try to make the meaning clearer in Horizon.
  Chatting with a Nova developer and based on the discussion on that
  other bug as well, the actual meaning is: "This hypervisor has 4 cores
  and is running VMs with a total of 5 vCPUs." - which is a bit too long
  for the chart legend itself.

  I'd like to suggest adding a star (*) after the small chart legend and
  putting this full sentence as a legend below the chart series. It may
  not be the best UI but hopefully it will help with reducing confusion
  - I'm including the UX tag on this so UX folks can hopefully add their
  input as well.

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/hypervisors/templates/hypervisors/index.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1397917/+subscriptions



References