Bug 245099 - incomplete domU save file when domain-0 reboot
Summary: incomplete domU save file when domain-0 reboot
Keywords:
Status: CLOSED DUPLICATE of bug 214995
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Xen Maintainance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-21 02:23 UTC by Wesly Chen
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-21 12:43:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log/xen/xend.log (242.37 KB, text/plain)
2007-06-21 03:08 UTC, Wesly Chen
no flags Details
/var/log/xen/xend-debug.log (648 bytes, application/octet-stream)
2007-06-21 03:09 UTC, Wesly Chen
no flags Details
bash -x /etc/init.d/xendomains start (with /var/lib/xen/save/rhel3_32) (2.45 KB, application/octet-stream)
2007-06-21 03:14 UTC, Wesly Chen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1572386 1 medium CLOSED RHEL 7: Please move NetworkManager-ovs to FD 2023-09-14 04:27:18 UTC

Description Wesly Chen 2007-06-21 02:23:16 UTC
Description of problem:
When domain-0 is rebooted without shutting down the domU gracefully, it creates 
an incomplete save file in /var/lib/xen/save/<domU name>, and you can not start 
that domU anymore unless you remove /var/lib/xen/save/<domU name>

Version-Release number of selected component (if applicable):
xen-3.0.3-25.0.3.el5.x86_64

How reproducible:
easy

Steps to Reproduce:
1. create a runable domU, say rhel3_32
2. xm create rhel3_32
3. reboot domain-0 (host) machine without shutting down rhel3_32
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2007-06-21 02:32:11 UTC
Please provide the guest config file and  /var/log/xen/xend.log and
/var/log/xen/xend-debug.log


Comment 2 Wesly Chen 2007-06-21 03:08:41 UTC
Created attachment 157509 [details]
/var/log/xen/xend.log

Comment 3 Wesly Chen 2007-06-21 03:09:37 UTC
Created attachment 157510 [details]
/var/log/xen/xend-debug.log

Comment 4 Wesly Chen 2007-06-21 03:12:17 UTC
Please trace back the time stamp before 17:30 June 20 in the log. Because I have
remove the /var/lib/xen/save/rhel3_32 before reboot after 17:30 June 20.

Comment 5 Wesly Chen 2007-06-21 03:14:15 UTC
Created attachment 157511 [details]
bash -x /etc/init.d/xendomains start (with /var/lib/xen/save/rhel3_32)

Comment 6 Daniel Berrangé 2007-06-21 12:43:21 UTC
The xend.log file shows that  rhel3_32  is a fully virtualized guest. Save and
restore does not work for fullvirtualized guests in Xen 3.0.3.

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

Comment 7 Wesly Chen 2007-06-21 16:29:33 UTC
OK.
If fully virtualized guest is not supported in in Xen 3.0.3, then it should not
save the fully-virtualized domU when the dom0 reboot.
It should destroy the fully-virtualized domU to avoid restoring issue, shouldn't it?
Otherwise, when dom0 crashes or power outage, all the fully-virtualized domUs
will have the issue to bring on up.


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