From: Ewan Mellor Subject: Re: xend bug? restart = 'never' Date: Mon, 10 Oct 2005 23:45:04 +0100 Message-ID: <20051010224504.GB6264@linford.intra> References: <434AB8C1.3070502@cmu.edu> <20051010194105.GA6264@linford.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20051010194105.GA6264@linford.intra> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Oct 10, 2005 at 08:41:05PM +0100, Ewan Mellor wrote: > On Mon, Oct 10, 2005 at 02:53:53PM -0400, Jonathan M. McCune wrote: > > > Hello, > > > > I'm observing a situation where domU crashes and xend continuously tries > > to restart it. For example, I have to write commands like this to > > actually get it to stop: > > > > for i in `seq 80 90`; do xm destroy $i; done > > > > I've tried adding restart = "never" and restart = 'never' to the domain > > config file (the file that gets passed to `xm create`). Is this a known > > issue? Am I doing something wrong? > > It's a bug. Please use the new config options on_poweroff, on_reboot, and > on_crash (documented in the example configuration files in > tools/examples/xmexample{1,2,3}). We are supposed to be backwards compatible > with the old restart option, but that is clearly broken. Also, xm shutdown --halt should override any restarting configuration, and definitively halt the domain. Ewan.