* [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions
@ 2010-07-27 15:09 Jim Fehlig
2010-07-27 15:11 ` Keir Fraser
2010-07-27 16:41 ` Ian Jackson
0 siblings, 2 replies; 4+ messages in thread
From: Jim Fehlig @ 2010-07-27 15:09 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
After all of these years, more fallout from xen-api and legacy xmlrpc
integration. Can't say I'll miss xend :-).
Please apply to xen-4.0-testing.
Regards,
Jim
[-- Attachment #2: xend-crash-behavior.patch --]
[-- Type: text/x-patch, Size: 1270 bytes --]
# HG changeset patch
# User Jim Fehlig <jfehlig@novell.com>
# Date 1280165174 21600
# Node ID 3da5c666fb1ba1f532803e59040e7a0d8481c2ba
# Parent ac7e4c6ec6c7494e4046da92aa8f62f6c1371438
The xm documentation and example config files state that possible
"on crash" behaviors include coredump-{restart,destroy},
but domain creation will fail if either of these options are
specified
xen52:~ # grep coredump /etc/xen/vm/test
on_crash="coredump-restart"
xen52:~ # xm create /etc/xen/vm/test
Using config file "/etc/xen/vm/test".
Error: Invalid argument.
coredump-and-{restart,destroy} are permissible but unnecessarily
verbose and inconsistent with documentation. This patch simply
adds coredump-{restart,destroy} to the list of permissible values.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
diff -r ac7e4c6ec6c7 -r 3da5c666fb1b tools/python/xen/xend/XendAPIConstants.py
--- a/tools/python/xen/xend/XendAPIConstants.py Fri Jul 23 19:23:49 2010 +0100
+++ b/tools/python/xen/xend/XendAPIConstants.py Mon Jul 26 11:26:14 2010 -0600
@@ -45,8 +45,10 @@
XEN_API_ON_CRASH_BEHAVIOUR = [
'destroy',
'coredump_and_destroy',
+ 'coredump_destroy',
'restart',
'coredump_and_restart',
+ 'coredump_restart',
'preserve',
'rename_restart'
]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions
2010-07-27 15:09 [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions Jim Fehlig
@ 2010-07-27 15:11 ` Keir Fraser
2010-07-27 16:41 ` Ian Jackson
1 sibling, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2010-07-27 15:11 UTC (permalink / raw)
To: Jim Fehlig, xen-devel
On 27/07/2010 16:09, "Jim Fehlig" <jfehlig@novell.com> wrote:
> After all of these years, more fallout from xen-api and legacy xmlrpc
> integration. Can't say I'll miss xend :-).
>
> Please apply to xen-4.0-testing.
The path is via Ian Jackson or Stefano Stabellini into
xenbits.xen.org/staging/xen-unstable-tools.hg, from there I pull into
xen-unstable.hg. Then Ian or Stefano may nominate changesets from unstable
to backport to 4.0-testing.
-- Keir
> Regards,
> Jim
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions
2010-07-27 15:09 [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions Jim Fehlig
2010-07-27 15:11 ` Keir Fraser
@ 2010-07-27 16:41 ` Ian Jackson
2010-07-27 17:59 ` Jim Fehlig
1 sibling, 1 reply; 4+ messages in thread
From: Ian Jackson @ 2010-07-27 16:41 UTC (permalink / raw)
To: Jim Fehlig; +Cc: xen-devel
Jim Fehlig writes ("[Xen-devel] [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions"):
> After all of these years, more fallout from xen-api and legacy xmlrpc
> integration. Can't say I'll miss xend :-).
>
> Please apply to xen-4.0-testing.
We'll apply this to xen-unstable first, as Keir says. However, I'm
not sure I fully understand how this patch works.
You're adding 'coredump_destroy' and 'coredump_restart' to the list of
allowable settings, but you don't appear to provide a corresponding
change to the implementation anywhere. How does this work ?
Ian.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions
2010-07-27 16:41 ` Ian Jackson
@ 2010-07-27 17:59 ` Jim Fehlig
0 siblings, 0 replies; 4+ messages in thread
From: Jim Fehlig @ 2010-07-27 17:59 UTC (permalink / raw)
To: Ian Jackson; +Cc: xen-devel
Ian Jackson wrote:
> Jim Fehlig writes ("[Xen-devel] [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions"):
>
>> After all of these years, more fallout from xen-api and legacy xmlrpc
>> integration. Can't say I'll miss xend :-).
>>
>> Please apply to xen-4.0-testing.
>>
>
> We'll apply this to xen-unstable first, as Keir says.
Don't.
> However, I'm
> not sure I fully understand how this patch works.
>
Well, I'm not surprised that you are confused. As it turns out, we have
an internal patch that fixes a bug wrt 'xm create -x ...' not working -
and that patch is causing the bug described here. Unfortunately it was
never upstreamed, allowing such regressions to be spotted by others:-(.
Sorry for the noise.
Regards,
Jim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-27 17:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 15:09 [PATCH] [xend] fix coredump-{restart, destroy} on_crash actions Jim Fehlig
2010-07-27 15:11 ` Keir Fraser
2010-07-27 16:41 ` Ian Jackson
2010-07-27 17:59 ` Jim Fehlig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.