Bug 220489

Summary: Xen services need to survive a xend restart
Product: [Fedora] Fedora Reporter: Stephen Tweedie <sct>
Component: xenAssignee: Daniel Berrange <berrange>
Status: CLOSED RAWHIDE QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bstein, katzj, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-24 19:31:52 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Stephen Tweedie 2006-12-21 13:39:54 EST
Description of problem:
Various xend services may not survive "service xend restart":

> > A xend restart is already broken in many ways - i don;t think we should
> > support it unless all guests are shutdown. eg,  tapdisk processes don't
> > get cleaned up (resulting zombie guest upon shutdown),  qemu-dm processes
> > don't get cleaned up (more zombies), xen-vncfb didn't used to get cleaned
> > up, but i think new pvfb makes them auto exit now avoiding zombies. 
> > Generally its all very fragile for restarts

Ideally everything spawned by Xen should automatically detect when its
corresponding domain has shutdown & exit itself. This involves some kind
of crazy xenstore/xenbus watch setup which its totally confusing to me.
So, yes, if anything has any clue how to make this work, it'd be good.
Comment 1 Red Hat Bugzilla 2007-07-24 20:04:19 EDT
change QA contact
Comment 2 Daniel Berrange 2007-09-24 19:31:52 EDT
Fixed in F7 and rawhide. Won't fix for FC6