RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 688804 - virsh save guest got Migration unexpectedly failed when trying to save guest to /root
Summary: virsh save guest got Migration unexpectedly failed when trying to save guest ...
Keywords:
Status: CLOSED DUPLICATE of bug 619846
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Osier Yang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 584077 670727 698496
Blocks: 688807
TreeView+ depends on / blocked
 
Reported: 2011-03-18 05:00 UTC by Vivian Bian
Modified: 2013-01-08 13:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 688807 (view as bug list)
Environment:
Last Closed: 2011-06-08 17:59:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vivian Bian 2011-03-18 05:00:22 UTC
Description of problem:


Version-Release number of selected component (if applicable):
libvirt-0.8.1-27.el6_0.5.x86_64
qemu-kvm-0.12.1.2-2.113.el6_0.8.x86_64
kernel-2.6.32-71.20.1.el6.x86_64



How reproducible:
always

Steps to Reproduce:

# virsh list --all
 Id Name                 State
----------------------------------
  9 local                running

# virsh save local local.save
error: Failed to save domain local to local.save
error: operation failed: Migration unexpectedly failed


Actual results:
Failed to save guest

Expected results:
succeed 

Additional info:

Comment 2 Vivian Bian 2011-03-18 05:15:27 UTC
# virsh save local /opt/test.save
Domain local saved to /opt/test.save

# virsh restore /opt/test.save
Domain restored from /opt/test.save

# virsh save local local.save
error: Failed to save domain local to local.save
error: operation failed: Migration unexpectedly failed

# pwd 
/root

Tried some times , found if we save the guest to /root , then will always
failed . Save to other directories , will succeed .

Comment 3 Vivian Bian 2011-03-18 05:21:14 UTC
[root@dhcp-93-106 ~]# LIBVIRT_DEBUG=1 LIBVIRT_LOG_FILTERS="1:util 1:libvirt 1:qemu 1:remote" virsh save local local.save
21:30:28.847: debug : virInitialize:341 : register drivers
21:30:28.853: debug : virRegisterDriver:929 : registering Test as driver 0
21:30:28.853: debug : virRegisterNetworkDriver:735 : registering Test as network driver 0
21:30:28.853: debug : virRegisterInterfaceDriver:766 : registering Test as interface driver 0
21:30:28.853: debug : virRegisterStorageDriver:797 : registering Test as storage driver 0
21:30:28.853: debug : virRegisterDeviceMonitor:828 : registering Test as device driver 0
21:30:28.853: debug : virRegisterSecretDriver:859 : registering Test as secret driver 0
21:30:28.853: debug : virRegisterNWFilterDriver:890 : registering Test as network filter driver 0
21:30:28.853: debug : virRegisterDriver:929 : registering ESX as driver 1
21:30:28.853: debug : virRegisterInterfaceDriver:766 : registering ESX as interface driver 1
21:30:28.853: debug : virRegisterNetworkDriver:735 : registering ESX as network driver 1
21:30:28.853: debug : virRegisterStorageDriver:797 : registering ESX as storage driver 1
21:30:28.853: debug : virRegisterDeviceMonitor:828 : registering ESX as device driver 1
21:30:28.853: debug : virRegisterSecretDriver:859 : registering ESX as secret driver 1
21:30:28.853: debug : virRegisterNWFilterDriver:890 : registering ESX as network filter driver 1
21:30:28.853: debug : virRegisterDriver:929 : registering remote as driver 2
21:30:28.853: debug : virRegisterNetworkDriver:735 : registering remote as network driver 2
21:30:28.853: debug : virRegisterInterfaceDriver:766 : registering remote as interface driver 2
21:30:28.853: debug : virRegisterStorageDriver:797 : registering remote as storage driver 2
21:30:28.853: debug : virRegisterDeviceMonitor:828 : registering remote as device driver 2
21:30:28.853: debug : virRegisterSecretDriver:859 : registering remote as secret driver 2
21:30:28.853: debug : virRegisterNWFilterDriver:890 : registering remote as network filter driver 2
21:30:28.853: debug : virConnectOpenAuth:1471 : name=(null), auth=0x3c6512aca0, flags=0
21:30:28.854: debug : do_open:1208 : no name, allowing driver auto-select
21:30:28.854: debug : do_open:1216 : trying driver 0 (Test) ...
21:30:28.854: debug : do_open:1222 : driver 0 Test returned DECLINED
21:30:28.854: debug : do_open:1216 : trying driver 1 (ESX) ...
21:30:28.854: debug : do_open:1222 : driver 1 ESX returned DECLINED
21:30:28.854: debug : do_open:1216 : trying driver 2 (remote) ...
21:30:28.854: debug : remoteOpen:1093 : Auto-probe remote URI
21:30:28.854: debug : doRemoteOpen:570 : proceeding with name = 
21:30:28.857: debug : remoteIO:9756 : Do proc=66 serial=0 length=28 wait=(nil)
21:30:28.857: debug : remoteIO:9831 : We have the buck 66 0x7fb99a8b4010 0x7fb99a8b4010
21:30:28.858: debug : remoteIODecodeMessageLength:9187 : Got length, now need 64 total (60 more)
21:30:28.858: debug : remoteIOEventLoop:9682 : Giving up the buck 66 0x7fb99a8b4010 (nil)
21:30:28.858: debug : remoteIO:9862 : All done with our call 66 (nil) 0x7fb99a8b4010
21:30:28.858: debug : remoteIO:9756 : Do proc=1 serial=1 length=40 wait=(nil)
21:30:28.859: debug : remoteIO:9831 : We have the buck 1 0x117edc0 0x117edc0
21:30:28.867: debug : remoteIODecodeMessageLength:9187 : Got length, now need 56 total (52 more)
21:30:28.867: debug : remoteIOEventLoop:9682 : Giving up the buck 1 0x117edc0 (nil)
21:30:28.867: debug : remoteIO:9862 : All done with our call 1 (nil) 0x117edc0
21:30:28.867: debug : remoteIO:9756 : Do proc=110 serial=2 length=28 wait=(nil)
21:30:28.867: debug : remoteIO:9831 : We have the buck 110 0x117edc0 0x117edc0
21:30:28.869: debug : remoteIODecodeMessageLength:9187 : Got length, now need 76 total (72 more)
21:30:28.869: debug : remoteIOEventLoop:9682 : Giving up the buck 110 0x117edc0 (nil)
21:30:28.869: debug : remoteIO:9862 : All done with our call 110 (nil) 0x117edc0
21:30:28.869: debug : doRemoteOpen:895 : Auto-probed URI is qemu:///system
21:30:28.869: debug : doRemoteOpen:914 : Adding Handler for remote events
21:30:28.869: debug : doRemoteOpen:921 : virEventAddHandle failed: No addHandleImpl defined. continuing without events.
21:30:28.869: debug : do_open:1222 : driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1242 : network driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1242 : network driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1242 : network driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1261 : interface driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1261 : interface driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1261 : interface driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1281 : storage driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1281 : storage driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1281 : storage driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1301 : node driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1301 : node driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1301 : node driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1328 : secret driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1328 : secret driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1328 : secret driver 2 remote returned SUCCESS
21:30:28.869: debug : do_open:1348 : nwfilter driver 0 Test returned DECLINED
21:30:28.869: debug : do_open:1348 : nwfilter driver 1 ESX returned DECLINED
21:30:28.869: debug : do_open:1348 : nwfilter driver 2 remote returned SUCCESS
21:30:28.869: debug : virDomainLookupByName:2130 : conn=0x117b8a0, name=local
21:30:28.869: debug : remoteIO:9756 : Do proc=23 serial=3 length=40 wait=(nil)
21:30:28.869: debug : remoteIO:9831 : We have the buck 23 0x117eea0 0x117eea0
21:30:28.870: debug : remoteIODecodeMessageLength:9187 : Got length, now need 88 total (84 more)
21:30:28.870: debug : remoteIOEventLoop:9682 : Giving up the buck 23 0x117eea0 (nil)
21:30:28.870: debug : remoteIO:9862 : All done with our call 23 (nil) 0x117eea0
21:30:28.870: debug : virGetDomain:382 : New hash entry 0x117b610
21:30:28.870: debug : virDomainSave:2376 : domain=0x117b610, to=local.save
21:30:28.870: debug : remoteIO:9756 : Do proc=55 serial=4 length=80 wait=(nil)
21:30:28.870: debug : remoteIO:9831 : We have the buck 55 0x117f130 0x117f130
21:30:29.018: debug : remoteIODecodeMessageLength:9187 : Got length, now need 184 total (180 more)
21:30:29.018: debug : remoteIOEventLoop:9682 : Giving up the buck 55 0x117f130 (nil)
21:30:29.018: debug : remoteIO:9862 : All done with our call 55 (nil) 0x117f130
error: Failed to save domain local to local.save
21:30:29.018: debug : virDomainFree:2218 : domain=0x117b610
21:30:29.018: debug : virUnrefDomain:463 : unref domain 0x117b610 local 1
21:30:29.018: debug : virReleaseDomain:416 : release domain 0x117b610 local 637257d6-4654-3a3d-28ea-9ebbf9279e22
21:30:29.018: debug : virReleaseDomain:433 : unref connection 0x117b8a0 2
error: operation failed: Migration unexpectedly failed

21:30:29.018: debug : virConnectClose:1497 : conn=0x117b8a0
21:30:29.018: debug : virUnrefConnect:294 : unref connection 0x117b8a0 1
21:30:29.018: debug : remoteIO:9756 : Do proc=2 serial=5 length=28 wait=(nil)
21:30:29.018: debug : remoteIO:9831 : We have the buck 2 0x117eea0 0x117eea0
21:30:29.019: debug : remoteIODecodeMessageLength:9187 : Got length, now need 56 total (52 more)
21:30:29.019: debug : remoteIOEventLoop:9682 : Giving up the buck 2 0x117eea0 (nil)
21:30:29.019: debug : remoteIO:9862 : All done with our call 2 (nil) 0x117eea0
21:30:29.019: debug : virReleaseConnect:249 : release connection 0x117b8a0

Comment 4 Osier Yang 2011-03-18 07:25:46 UTC
I considered to duplicate this to https://bugzilla.redhat.com/show_bug.cgi?id=619846, but as this BZ is to 6.0.Z, so perhaps we need to keep it, and
backport the fix when 619846 is fixed.

Comment 5 RHEL Program Management 2011-04-04 01:59:23 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 Dave Allan 2011-06-08 17:59:31 UTC
(In reply to comment #4)
> I considered to duplicate this to
> https://bugzilla.redhat.com/show_bug.cgi?id=619846, but as this BZ is to 6.0.Z,
> so perhaps we need to keep it, and
> backport the fix when 619846 is fixed.

I agree that this BZ is a dup of 619846, and I'm closing as such.

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


Note You need to log in before you can comment on or make changes to this bug.