← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681658] Re: disk_allocation_ratio does not work with placement API

 

** Changed in: nova
       Status: New => Won't Fix

-- 
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/1681658

Title:
  disk_allocation_ratio does not work with placement API

Status in OpenStack Compute (nova):
  Won't Fix

Bug description:
  disk_allocation_ratio is not working with Ocata since we are checking if requested amount is less than max_unit.
  Because of this if I have a compute with 64GB local disk and I'm using iSCSI storage then even after setting disk_allocation_ratio to 9999.0 I can not create a VM with 80GB as root disk.

  Following code segment in objects/resource_provider.py is causing this to fail:
                  _INV_TBL.c.resource_class_id == r_idx,
                  (func.coalesce(usage.c.used, 0) + amount <= (
                      _INV_TBL.c.total - _INV_TBL.c.reserved
                  ) * _INV_TBL.c.allocation_ratio),
                  _INV_TBL.c.min_unit <= amount,
                  _INV_TBL.c.max_unit >= amount,

  Environment: 
  # openstack --version
  openstack 3.8.1

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


References