All of lore.kernel.org
 help / color / mirror / Atom feed
* bug in xenstored? No notification to subscription on @introduceDomain
@ 2011-12-09 19:49 George Shuklin
       [not found] ` <4EE2665C.8090602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: George Shuklin @ 2011-12-09 19:49 UTC (permalink / raw)
  To: xen-devel, xen-hosting

Good day.

I think I met some strange bug in xenstored.

I using XCP for long time and all that time we have some funny bug we 
was not able to debug enough due product environment and very low chance 
to appear, now we was able to catch it in testing environment and done 
some research.

We have python application running in dom0 and waiting domain 
appearance. This implemented this via subscription to @introduceDomain 
xenstore key. Under some conditions we stops to receive notification on 
subscription. If we ran application as second instance it will receive 
that notification, if we restart application it will  receive too.

I unable to pinpoint exact condition for this, but this
a) Happens occasionally but consistently (about once a month in farm of 
50 hosts at least at one host)
b) Not related to xenstored uptime
c) Not related to load on xen or dom0
d) Not related to amount of domains
e) Occur at least at XCP 0.5, 1.0 and 1.1 (I don't know how to get 
version from xenstored)

Last time I got that on two hosts in lab at same time (with single guest 
domain without any high load) and done some experiments - so I can say 
exactly I wrote above.

The pieces from python code we ran:

from xen.lowlevel.xs import xs
conn = xs.xs()
conn.watch("@introduceDomain", "+")
conn.watch("@releaseDomain", "-")
conn.read_watch()

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-12 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09 19:49 bug in xenstored? No notification to subscription on @introduceDomain George Shuklin
     [not found] ` <4EE2665C.8090602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-12-12 11:31   ` [Xen-devel] " Ian Campbell
     [not found]     ` <4EE5EF22.6050704@gmail.com>
     [not found]       ` <4EE5EF22.6050704-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-12-12 13:46         ` Ian Campbell
     [not found]           ` <1323697614.20077.211.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2011-12-12 15:34             ` George Shuklin
     [not found]     ` <1323689477.20077.173.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2011-12-12 13:55       ` Ian Campbell
     [not found]         ` <1323698103.20077.216.camel-o4Be2W7LfRlXesXXhkcM7miJhflN2719@public.gmane.org>
2011-12-12 15:36           ` George Shuklin

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.