← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282506] [NEW] live migrations not possible when using Libvirt/Xen with Cinder/NFS

 

Public bug reported:

Live migrations are not possible when using Libvirt/Xen with Cinder/NFS
as storage backend.

InvalidSharedStorage: xxx is not on shared storage: Live migration can
not be used without shared storage.

The issue is in the method check_can_live_migrate_source in
nova/virt/libvirt/driver.py. has_local_disks is True, even if there are
only volumes attached to an instance (is_volume_backed is also True).
has_local_disks is True because get_instance_disk_info() returns disks
as local because of the disk type file. NFS volumes are available with
the disk type file in Libvirt and the method get_instance_disk_info()
doesn't check if those disks are volumes or local disks.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  live migrations not possible when using Libvirt/Xen with Cinder/NFS

Status in OpenStack Compute (Nova):
  New

Bug description:
  Live migrations are not possible when using Libvirt/Xen with
  Cinder/NFS as storage backend.

  InvalidSharedStorage: xxx is not on shared storage: Live migration can
  not be used without shared storage.

  The issue is in the method check_can_live_migrate_source in
  nova/virt/libvirt/driver.py. has_local_disks is True, even if there
  are only volumes attached to an instance (is_volume_backed is also
  True). has_local_disks is True because get_instance_disk_info()
  returns disks as local because of the disk type file. NFS volumes are
  available with the disk type file in Libvirt and the method
  get_instance_disk_info() doesn't check if those disks are volumes or
  local disks.

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


Follow ups

References