Red Hat Bugzilla – Bug 188361
Xen's "xm save" command fails
Last modified: 2007-11-30 17:11:30 EST
Description of problem:
The xen-3.0.1-cloexec.patch introduces a regression that breaks the "xm save"
command - or more specifically, the xc_save program that it calls.
The discussion at the URL listed sums it up. Either the cloexec patch needs to
be removed or the close-on-exec flag needs to be cleared in XendCheckpoint.py.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Execute "xm save domain filename" on a running domain
An error is returned and the following goes into xend.log:
Unable to get platform info.: 9 at XendCheckpoint:227
The domain's state and config should be saved to the file.
The migrate command is also broken as a dependency.
I'm not related to the mailing list thread in the URL, it's something I found
while troubleshooting. I have confirmed that applying the attached patch and
rebuilding the RPM fixes the bug.
Created attachment 127506 [details]
Patch to clear the file descriptors flag when saving the domain
Thanks for the patch. Daniel, want to add this to our RPM?
"xm migrate" calls "xm save" and so "xm migrate" fails too.
Okay, reproduced and confirmed the fix, I'm pushing xen-3.0.1-5 to rawhide
and xen-3.0.1-5.FC5 to FC5 testing later.
For migrate it's a different problem !
xen-3.0.1-5.FC5 has been released for a long time now, fixed there.
W.r.t. migration the last time I tried one month ago this worked just fine,
with a pre 3.0.3 release.