Bug 881092

Summary: RFE: migrate non-running VMs
Product: [Community] Virtualization Tools Reporter: Frantisek Reznicek <freznice>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, berrange, crobinso, esammons, hbrock, herrold, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 883884 (view as bug list) Environment:
Last Closed: 2014-02-01 23:29:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frantisek Reznicek 2012-11-28 16:10:39 UTC
Description of problem:

Unable to migrate VM which is not running.

Virt-manager UI disables migration (Migrate...) option when machine is  Shutoff. When the machine is running Migrate... option is enabled.

It seems to me pointless to run machine to be able to select 'Migrate... -> Migrate offline'.

Version-Release number of selected component (if applicable):
libvirt-0.9.11.7-1.fc17.x86_64
libvirt-client-0.9.11.7-1.fc17.x86_64
libvirt-daemon-0.9.11.7-1.fc17.x86_64
libvirt-daemon-config-network-0.9.11.7-1.fc17.x86_64
libvirt-daemon-config-nwfilter-0.9.11.7-1.fc17.x86_64
libvirt-python-0.9.11.7-1.fc17.x86_64
python-virtinst-0.600.3-2.fc17.noarch
qemu-kvm-1.0.1-2.fc17.x86_64
redland-virtuoso-1.0.15-1.fc17.x86_64
virt-manager-0.9.4-2.fc17.noarch
virt-manager-common-0.9.4-2.fc17.noarch
virt-viewer-0.5.3-1.fc17.x86_64
virtuoso-opensource-6.1.6-1.fc17.x86_64


How reproducible:
100%

Steps to Reproduce:
1. at least one machine created
2. start 'virt-manager'
3. right-click -> Migrate... (unable to select)
  
Actual results:
Migration of shutoff machine is disabled.

Expected results:
Migration of shutoff machine should be enabled.

Additional info:

Comment 1 Cole Robinson 2012-12-16 16:03:36 UTC
Moving to the upstream tracker

Comment 2 Cole Robinson 2014-02-01 23:29:22 UTC
That 'offline' migrate UI was actually bogus, and wasn't truly migrating offline, it was just migrating non-live, which means it would pause the VM to make it migrate faster. In general nobody really wants non-live migration, but if they did, they can manually pause their VM first. So i've removed that option from the upstream UI.

libvirt has true OFFLINE migration support (really just redefining the VM on the new connection), but we are now tracking that in a bug detailing a larger cleanup in this area.

*** This bug has been marked as a duplicate of bug 1060462 ***