← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276728] Re: Cells capacity reports can be wrong when multiple flavors have the same disk/ram size

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  Cells capacity reports can be wrong when multiple flavors have the
  same disk/ram size

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  mysql> select memory_mb,memory_mb_used,free_ram_mb,free_disk_gb from compute_nodes where free_ram_mb > 8000;
  +-----------+----------------+-------------+--------------+
  | memory_mb | memory_mb_used | free_ram_mb | free_disk_gb |
  +-----------+----------------+-------------+--------------+
  |    131026 |         121640 |        9386 |          810 |
  |    131026 |         121621 |        9405 |          990 |
  |    131026 |         121636 |        9390 |          790 |
  +-----------+----------------+-------------+--------------+
  3 rows in set (0.00 sec)
   
  which indicates three hosts that can handle an 8GB instance, but the capacity reported in the cell log shows:
   
  capacities: {'ram_free': {'units_by_mb': {'8192': 6,


  What's happening is that two flavors have memory_mb set to 8192 so the
  slots are being counted twice.

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


References