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

Bug #1282506 reported by Christian Berendt
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned

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.

Matt Riedemann (mriedem)
tags: added: libvirt volumes xenserver
Revision history for this message
John Garbutt (johngarbutt) wrote :

Doesn't affect xenserver, removing xenserver.

Given we now have deprecated warnings for the Xen support, I am not quite sure what we do with this kind of thing. Best effort I guess.

tags: removed: xenserver
Revision history for this message
John Garbutt (johngarbutt) wrote :

I mean the Xen + libvirt support, in this case, not XenServer support.

Solly Ross (sross-7)
Changed in nova:
importance: Undecided → Low
status: New → Won't Fix
status: Won't Fix → Opinion
status: Opinion → Confirmed
Alvaro Lopez (aloga)
tags: added: xen
Revision history for this message
Sean Dague (sdague) wrote :

Is this still an issue?

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Roman (bt-u) wrote :

still an issue on my icehouse 2014.1.2 installation. any new information available?

Revision history for this message
Richard Raseley (richard-raseley) wrote :

I think I am seeing the same issue in RDO Icehouse-4.

https://bugs.launchpad.net/nova/+bug/1408477

Revision history for this message
Sean Dague (sdague) wrote :

I feel like this is a feature add for a hypervisor that never supported this. It's fine to fix, but it should be thought of as a feature not a bug.

Changed in nova:
status: Incomplete → Opinion
importance: Low → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.