Bug 627095

Summary: guest name shows incorrect after failed "xm save"
Product: Red Hat Enterprise Linux 5 Reporter: Linqing Lu <lilu>
Component: xenAssignee: Michal Novotny <minovotn>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: areis, gshipley, minovotn, mrezanin, mshao, xen-maint, yuzhang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-01 05:06:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xend.log info for the "xm save" operation none

Description Linqing Lu 2010-08-25 05:10:45 UTC
Created attachment 440834 [details]
xend.log info for the "xm save" operation

Description of problem:
When trying to do "xm save" with a PV guest with PCI device assigned, it will fail as expectation. But the name of the target guest has a permanent "migrating-" prefix.

Version-Release number of selected component (if applicable):
Host: xen-3.0.3-115.el5, kernel-xen-2.6.18-212.el5
Guest: RHEL-Server-5.4-64-pv

How reproducible:
always

Steps to Reproduce:
1.create a PV guest with PCI device assigned
2.do "xm save" to this guest (can do multiple times)
3.after the operation failed, check "xm list" to see whether the guest name was changed.
  
Actual results:
>> [root@dhcp-65-129 ~]# xm list
>> Name                                      ID Mem(MiB) VCPUs State   Time(s)
>> Domain-0                                   0     6953     4 r-----   1256.8
>> migrating-migrating-migrating-migrating-migrating-pv-test   1     1024     1 -b----     14.9

Expected results:
>> [root@dhcp-65-129 ~]# xm list
>> Name                                      ID Mem(MiB) VCPUs State   Time(s)
>> Domain-0                                   0     6953     4 r-----   1256.8
>> pv-test                                    1     1024     1 -b----     14.9

Additional info:
This problem has been discussed as a part of Bug 544950.

Comment 2 Michal Novotny 2010-08-31 13:52:33 UTC
New RPMs at [1] should contain the fix for BZ #567916 which should fix it. Could you please retest using those version of the xen package?

Thanks,
Michal

[1] http://people.redhat.com/mrezanin/xen/

Comment 4 Miroslav Rezanina 2010-09-01 05:06:07 UTC

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