[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen-ringwatch generating many alerts



On Wed, 2015-01-07 at 22:54 -0700, vishalfaldu wrote:
> Hi ,
> 
> We have xen-ringwatch which is sending below alert frequently, Any one can
> help ?
> 
> Subject: Cron <root@DOM0> xen-ringwatch check -T3 --kick | logger -p
> daemon.crit -t RINGWATCH-ALERT
> To: root
> 
> 
> Traceback (most recent call last):
>   File "/usr/sbin/xen-ringwatch", line 593, in ?
>     watches.update()
>   File "/usr/sbin/xen-ringwatch", line 414, in update
>     entry = RingWatch.new(ring)
>   File "/usr/sbin/xen-ringwatch", line 357, in new
>     state = ring.read()
>   File "/usr/sbin/xen-ringwatch", line 136, in read
>     state = RingState.from_sysfs(self.path())
>   File "/usr/sbin/xen-ringwatch", line 223, in from_sysfs
>     req = cls.Req.from_sysfs(_req, size=nr_ents)
>   File "/usr/sbin/xen-ringwatch", line 240, in from_sysfs
>     raise Exception, "Malformed %s input: %s" % \
> NameError: global name 's' is not defined

It seems like there is a bug in the  error handling at line 240, repr(s)
ought to be repr(line), I think. If you fix that (and please do send a
patch if you do, see [0]) then I expect you'll get a more useful error
message.

Ian.

[0] http://wiki.xen.org/wiki/Submitting_Xen_Patches



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.