Bug 494811
Summary: | "migrating-" prefix is not removed from guest's name when migration or xm save fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jiri Denemark <jdenemar> | ||||||
Component: | xen | Assignee: | Michal Novotny <minovotn> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 5.4 | CC: | areis, clalance, lilu, llim, minovotn, mrezanin, syeghiay, wolfram, w.schlich, xen-maint, yuzhang | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | xen-3.0.3-107.el5 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-01-13 22:16:34 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: | |||||||||
Bug Depends On: | 513335 | ||||||||
Bug Blocks: | 514500 | ||||||||
Attachments: |
|
Description
Jiri Denemark
2009-04-08 08:27:22 UTC
Created attachment 358062 [details] Fix to rename domain after failed save/migration This is the patch to rename the domain after failed save/migration. It's necessary to have patch for BZ #513335 applied first. Created attachment 390222 [details] Patch for the latest codebase Hi, this is the patch for our current codebase. Attached patch is patching mainly the forkHelper() method of XendCheckpoint.py script with option to pass dominfo object with domain information to it and if present and save is issued and failed, it restores the original guest name, i.e. it strips "migrating-" prefix from the guest's name. It's been tested on x86_64 dom0 and for both 32-bit and 64-bit RHEL 5.3 HVM guests and 32-bit and 64-bit RHEL 5 PV guests. The HVM guest is not running after failed save but there is already a bug filed about that, BZ #486308 (HVM guest stops running when xm save fails). For PV guests the guest ends up in suspended state when save fails (which is the same behavior like before applying my patch). Michal This bug has been verified in xen-3.0.3-115.el5 The PV guest runs WELL and the guest returns to its original name after "xm save" failed. But still 2 further problems: 1- this guest will turn into zombie when trying "xm shut" it, just as the same situation as Bug 589123. 2- if the PV guest has an PCI device assigned, the guest name will still have the "migrating-" prefix as Bug 627095. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0031.html |