← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1814226] [NEW] disk over-commit still not correctly calculated during live migration

 

Public bug reported:

As far as I can see exactly the same as https://bugzilla.redhat.com/show_bug.cgi?id=1536375
It was "re-fixed" yet another once by 0b63a7674a2391e36450dcc8e42bcb210c698c3e
<< Merge "Refix disk size during live migration with disk over-commit">>

As a result I can't live migrate ephemeral disks with --disk-overcommit
option.

If I understand it correctly 'free_disk_gb' does really mean promised
free space with all ephemeral  disks + swaps at max size. Wouldn't be
logical if ResourceTracker takes into account allowed disk overcommit?

-        cn.free_disk_gb = cn.local_gb - cn.local_gb_used
+        cn.free_disk_gb = cn.local_gb * cn.disk_allocation_ratio - cn.local_gb_used

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "0002-ResourceTracker-take-into-account-disk-overcommit-ra.patch"
   https://bugs.launchpad.net/bugs/1814226/+attachment/5234988/+files/0002-ResourceTracker-take-into-account-disk-overcommit-ra.patch

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

Title:
  disk over-commit still not correctly calculated during live migration

Status in OpenStack Compute (nova):
  New

Bug description:
  As far as I can see exactly the same as https://bugzilla.redhat.com/show_bug.cgi?id=1536375
  It was "re-fixed" yet another once by 0b63a7674a2391e36450dcc8e42bcb210c698c3e
  << Merge "Refix disk size during live migration with disk over-commit">>

  As a result I can't live migrate ephemeral disks with --disk-
  overcommit option.

  If I understand it correctly 'free_disk_gb' does really mean promised
  free space with all ephemeral  disks + swaps at max size. Wouldn't be
  logical if ResourceTracker takes into account allowed disk overcommit?

  -        cn.free_disk_gb = cn.local_gb - cn.local_gb_used
  +        cn.free_disk_gb = cn.local_gb * cn.disk_allocation_ratio - cn.local_gb_used

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


Follow ups