* xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
@ 2005-09-30 17:05 Chris Bainbridge
2005-10-01 10:36 ` Ewan Mellor
0 siblings, 1 reply; 5+ messages in thread
From: Chris Bainbridge @ 2005-09-30 17:05 UTC (permalink / raw)
To: xen-devel
With current xen-unstable. Looks like some kind of argument parsing problem?
# xm shutdown --wait --halt server2
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 703, in main
handle_xend_error(argv[1], args[0], ex)
File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 164, in
handle_xend_error
raise ex
xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
2005-09-30 17:05 xen.xend.XendProtocol.XendError: Exception: invalid reason:halt Chris Bainbridge
@ 2005-10-01 10:36 ` Ewan Mellor
2005-10-01 15:46 ` Chris Bainbridge
2005-10-05 14:45 ` Chris Bainbridge
0 siblings, 2 replies; 5+ messages in thread
From: Ewan Mellor @ 2005-10-01 10:36 UTC (permalink / raw)
To: xen-devel
On Fri, Sep 30, 2005 at 06:05:51PM +0100, Chris Bainbridge wrote:
> With current xen-unstable. Looks like some kind of argument parsing problem?
>
> # xm shutdown --wait --halt server2
> Traceback (most recent call last):
> File "/usr/sbin/xm", line 10, in ?
> main.main(sys.argv)
> File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 703, in main
> handle_xend_error(argv[1], args[0], ex)
> File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 164, in
> handle_xend_error
> raise ex
> xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
That's interesting -- how did you shut down the domain, and what guest are you
using? I always see 'poweroff' as the reason, not 'halt'. I can fix that
easily, of course.
Ewan.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
2005-10-01 10:36 ` Ewan Mellor
@ 2005-10-01 15:46 ` Chris Bainbridge
2005-10-05 14:45 ` Chris Bainbridge
1 sibling, 0 replies; 5+ messages in thread
From: Chris Bainbridge @ 2005-10-01 15:46 UTC (permalink / raw)
To: xen-devel
On 01/10/05, Ewan Mellor <ewan@xensource.com> wrote:
> On Fri, Sep 30, 2005 at 06:05:51PM +0100, Chris Bainbridge wrote:
>
> > With current xen-unstable. Looks like some kind of argument parsing problem?
> >
> > # xm shutdown --wait --halt server2
> > Traceback (most recent call last):
> > File "/usr/sbin/xm", line 10, in ?
> > main.main(sys.argv)
> > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 703, in main
> > handle_xend_error(argv[1], args[0], ex)
> > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 164, in
> > handle_xend_error
> > raise ex
> > xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
>
> That's interesting -- how did you shut down the domain, and what guest are you
> using? I always see 'poweroff' as the reason, not 'halt'. I can fix that
> easily, of course.
I'm using a gentoo domU. Kernel and xen sources are a snapshot from 2
days ago. No shutdown was done in domU, I just run "xm shutdown --all
--wait --halt " in domain 0.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
2005-10-01 10:36 ` Ewan Mellor
2005-10-01 15:46 ` Chris Bainbridge
@ 2005-10-05 14:45 ` Chris Bainbridge
2005-10-05 15:03 ` Ewan Mellor
1 sibling, 1 reply; 5+ messages in thread
From: Chris Bainbridge @ 2005-10-05 14:45 UTC (permalink / raw)
To: Ewan Mellor, xen-devel
On 01/10/05, Ewan Mellor <ewan@xensource.com> wrote:
> On Fri, Sep 30, 2005 at 06:05:51PM +0100, Chris Bainbridge wrote:
>
> > With current xen-unstable. Looks like some kind of argument parsing problem?
> >
> > # xm shutdown --wait --halt server2
> > Traceback (most recent call last):
> > File "/usr/sbin/xm", line 10, in ?
> > main.main(sys.argv)
> > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 703, in main
> > handle_xend_error(argv[1], args[0], ex)
> > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 164, in
> > handle_xend_error
> > raise ex
> > xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
>
> That's interesting -- how did you shut down the domain, and what guest are you
> using? I always see 'poweroff' as the reason, not 'halt'. I can fix that
> easily, of course.
Hi, did this get fixed? I was just looking at the latest
xmexample.vmx, xmexample1, xmexample2 and noticed that they don't
mention halt as a valid reason, just poweroff reboot and crash. Is
halt now treated the same as poweroff, or can these files be fixed
please?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
2005-10-05 14:45 ` Chris Bainbridge
@ 2005-10-05 15:03 ` Ewan Mellor
0 siblings, 0 replies; 5+ messages in thread
From: Ewan Mellor @ 2005-10-05 15:03 UTC (permalink / raw)
To: xen-devel
On Wed, Oct 05, 2005 at 03:45:46PM +0100, Chris Bainbridge wrote:
> On 01/10/05, Ewan Mellor <ewan@xensource.com> wrote:
> > On Fri, Sep 30, 2005 at 06:05:51PM +0100, Chris Bainbridge wrote:
> >
> > > With current xen-unstable. Looks like some kind of argument parsing problem?
> > >
> > > # xm shutdown --wait --halt server2
> > > Traceback (most recent call last):
> > > File "/usr/sbin/xm", line 10, in ?
> > > main.main(sys.argv)
> > > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 703, in main
> > > handle_xend_error(argv[1], args[0], ex)
> > > File "/usr/lib/python2.3/site-packages/xen/xm/main.py", line 164, in
> > > handle_xend_error
> > > raise ex
> > > xen.xend.XendProtocol.XendError: Exception: invalid reason:halt
> >
> > That's interesting -- how did you shut down the domain, and what guest are you
> > using? I always see 'poweroff' as the reason, not 'halt'. I can fix that
> > easily, of course.
>
> Hi, did this get fixed? I was just looking at the latest
> xmexample.vmx, xmexample1, xmexample2 and noticed that they don't
> mention halt as a valid reason, just poweroff reboot and crash. Is
> halt now treated the same as poweroff, or can these files be fixed
> please?
Halt means "poweroff and don't restart regardless of the configuration
settings", so as far as those config files are concerned, halt is not a valid
reason (i.e. you don't want to have an on_halt handler).
I think what you want in normal use is just xm shutdown --wait server2, with
on_poweroff set to the default (destroy). There's no need to specify --halt
in normal use.
The actual behaviour of --halt is less broken than it was before, so the
problem that you experienced is now fixed, but --halt is still broken (bug
#282). I'm working on that now.
Ewan.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-05 15:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 17:05 xen.xend.XendProtocol.XendError: Exception: invalid reason:halt Chris Bainbridge
2005-10-01 10:36 ` Ewan Mellor
2005-10-01 15:46 ` Chris Bainbridge
2005-10-05 14:45 ` Chris Bainbridge
2005-10-05 15:03 ` Ewan Mellor
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.