← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2008935] [NEW] Yoga, Live migration bandwidth not applies to disks

 

Public bug reported:

Description
===========
I am trying to live migrate using --block-migration flag to move local disks between compute nodes. As part of the I am setting "live_migration_bandwidth=900" (MiB), able to see value applied by the libvirt, but copying disks take very longer, definitely not using the above bandwidth. Memory copy is ver faster & bandwidth applied properly

Steps to reproduce
==================

VM spec ( Pinned vm ) with disk  OS-FLV-EXT-DATA:ephemeral 600 & root disk 10.
As part of migration using --block-migration copies disk first before the actual memory transfer

from libvirt disk targets

 Target   Source
----------------------------------------------------------------------------------
 vda      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk
 vdb      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk.eph0

blockjob info for vdb
----

Block Copy: [ 12 %]    Bandwidth limit: 943718400 bytes/s (900.000
MiB/s) ( applied bandwidth )

Actual speed is 59.3Mb while checking with iftop. It is clear that
actual bandwidth is not applied for the disk transfer

Expected result
===============
Disk copy should be done using the applied bandwidth

Actual result
=============

It is clear that actual bandwidth is not applied for the disk transfer.
It copied only after 40 min

 13G    disk.eph0


Environment
===========

Openstack version Yoga across both source & destination compute nodes

Logs & Configs
==============

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  Description
  ===========
- I am trying to live migrate using --block-migration flag to move local disks between compute nodes. As part of the I am setting "live_migration_bandwidth=900" (MiB), able to see value applied by the libvirt, but copying disks take very longer, definitely not using the above bandwidth. Memory copy is ver faster & bandwidth applied properly 
+ I am trying to live migrate using --block-migration flag to move local disks between compute nodes. As part of the I am setting "live_migration_bandwidth=900" (MiB), able to see value applied by the libvirt, but copying disks take very longer, definitely not using the above bandwidth. Memory copy is ver faster & bandwidth applied properly
  
  Steps to reproduce
  ==================
  
- VM spec ( Pinned vm ) with disk  OS-FLV-EXT-DATA:ephemeral 600 & root disk 10. 
+ VM spec ( Pinned vm ) with disk  OS-FLV-EXT-DATA:ephemeral 600 & root disk 10.
  As part of migration using --block-migration copies disk first before the actual memory transfer
  
  from libvirt disk targets
  
-  Target   Source
+  Target   Source
  ----------------------------------------------------------------------------------
-  vda      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk
-  vdb      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk.eph0
- 
+  vda      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk
+  vdb      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk.eph0
  
  blockjob info for vdb
  ----
  
  Block Copy: [ 12 %]    Bandwidth limit: 943718400 bytes/s (900.000
  MiB/s) ( applied bandwidth )
  
  Actual speed is 59.3Mb while checking with iftop. It is clear that
  actual bandwidth is not applied for the disk transfer
  
- 
  Expected result
  ===============
  Disk copy should be done using the applied bandwidth
  
- 
  Actual result
  =============
  
-  It is clear that actual bandwidth is not applied for the disk transfer
+ It is clear that actual bandwidth is not applied for the disk transfer.
+ It copied only after 40 min
+ 
+  13G    disk.eph0
  
  
  Environment
  ===========
  
  Openstack version Yoga across both source & destination compute nodes
  
  Logs & Configs
  ==============

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

Title:
  Yoga, Live migration bandwidth not applies to disks

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  I am trying to live migrate using --block-migration flag to move local disks between compute nodes. As part of the I am setting "live_migration_bandwidth=900" (MiB), able to see value applied by the libvirt, but copying disks take very longer, definitely not using the above bandwidth. Memory copy is ver faster & bandwidth applied properly

  Steps to reproduce
  ==================

  VM spec ( Pinned vm ) with disk  OS-FLV-EXT-DATA:ephemeral 600 & root disk 10.
  As part of migration using --block-migration copies disk first before the actual memory transfer

  from libvirt disk targets

   Target   Source
  ----------------------------------------------------------------------------------
   vda      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk
   vdb      /var/lib/nova/instances/84b43962-5623-42c2-9ecd-26e09753dead/disk.eph0

  blockjob info for vdb
  ----

  Block Copy: [ 12 %]    Bandwidth limit: 943718400 bytes/s (900.000
  MiB/s) ( applied bandwidth )

  Actual speed is 59.3Mb while checking with iftop. It is clear that
  actual bandwidth is not applied for the disk transfer

  Expected result
  ===============
  Disk copy should be done using the applied bandwidth

  Actual result
  =============

  It is clear that actual bandwidth is not applied for the disk
  transfer. It copied only after 40 min

   13G    disk.eph0


  Environment
  ===========

  Openstack version Yoga across both source & destination compute nodes

  Logs & Configs
  ==============

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



Follow ups