WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] Who gives exeption routine in main.py 'Not found' in ex ?

To: "'Ewan Mellor'" <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] Who gives exeption routine in main.py 'Not found' in ex ?
From: "Yoshinori Katase" <y_katase@xxxxxxxxxxxxxxxx>
Date: Fri, 6 Jan 2006 18:58:59 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年1月06日 10:03:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051222153948.GE18194@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYHDfOgj/NXVnz7TsKWYud+n9LI2ALl+mwA
Hi, Ewan.
I investigated at your suggestion.
When un-existant domain name(id)s is given xm,
exeption routine in main.py is carried 'Not found' in ex.
932: except xen.xend.XendError.XendError, ex:
933: if len(args) > 0:
934: handle_xend_error(argv[1], args, ex)
But in xend.trace, XendEroor shows error DomID.
| 43 if not dom:
| 44 raise XendError('No such domain ' + str(x))
| |> XendError.py:__init__
| | 21 self.value = value
| |< XendError.py:__init__
| ! Exception:
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 44, in domain
 raise XendError('No such domain ' + str(x))
XendError: No such domain 100
| ! Exception:
Traceback (most recent call last):
 File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 52, in get
 return self.domain(x)
 File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 44, in domain
 raise XendError('No such domain ' + str(x))
XendError: No such domain 100
| |> XendError.py:__str__
| | 24 return self.value
| |< XendError.py:__str__
Who changes xend's error massage ?
Best Regards,
Yoshinori Katase
-----Original Message-----
From: Ewan Mellor [mailto:ewan@xxxxxxxxxxxxx] 
Sent: Friday, December 23, 2005 12:40 AM
To: Yoshinori Katase
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] bug report of xm list and xm vcpu-list
On Thu, Dec 22, 2005 at 06:31:39PM +0900, Yoshinori Katase wrote:
> Hi,
>
> Xm list and xm vcpu-list show wrong DomID(name).
> Under this situation,
> # xm list
> Name ID Mem(MiB) VCPUs State Time(s)
> Domain-0 0 512 1 r----- 1064.6
> test1 13 64 1 r----- 83879.7
>
> # xm list 1 13
> Error: Domain '1' not found when running 'xm list'
> # xm list 13 15
> Error: Domain '13' not found when running 'xm list'
>
> An error message shows always the first one of given DomIDs,
> when xm list is given unexistant DomIDs.
> This is serious, when many domains are running.
This is a problem with the exception reporting from Xend (the daemon) to xm
(the client tool). The exception does not carry enough information to allow
xm to diagnose the problem correctly. Please feel free to fix this (no-one
else is working on it at the moment).
Ewan.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Re: can not lvcreate after lvm snapshot and "xm mem-set" and lvremove , Ralph Passgang
Next by Date: Re: [Xen-devel] [PATCH] Getting and setting SEDF scheduling parameters , Keir Fraser
Previous by Thread: [Xen-devel] [PATCH] extend qemu-dm.debug to use ddd for device model debugging , Andrew D. Ball
Next by Thread: [Xen-devel] Re: Who gives exeption routine in main.py 'Not found' in ex ? , Ewan Mellor
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /