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 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Domains do not shut down or reboot cleanly since upgrade to

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Domains do not shut down or reboot cleanly since upgrade to 3.2-1
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Sat, 21 Feb 2009 18:19:39 +0000
Delivery-date: Sat, 21 Feb 2009 10:20:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
Hi,

Since upgrading to Debian's 3.2-1 hypervisor package, domains do not
cleanly shutdown or reboot anymore.  They remain in the "s" state
until destroyed manually, then it is possible to create them again.

Here is a snippet of console output from a domain which has been
told to shut down:

Stopped /var/www/vhcs2/daemon/vhcs2_daemon (pid 7773).
Asking all remaining processes to terminate...All processes ended within 1 
seconds....done.
done.
.Deconfiguring network interfaces...Cleaning up ifupdown...Will now deactivate 
swap:.
done.

[160455.177159] System halted.

In the other window, "xm shutdown -w" returns believing that the
domain has been shut down, but it hasn't.  "xm list" says:

Name                                        ID   Mem VCPUs      State   Time(s)
test4                                       48   480     1     ---s--   1329.4

"xm list --long test4" confirms that on_poweroff is set to destroy:

(domain
    (domid 48)
    (on_crash restart)
    (uuid 840a911c-49dc-9b25-88b0-49d17e538e37)
    (bootloader_args )
    (vcpus 1)
    (name test4)
    (on_poweroff destroy)
    (on_reboot restart)
...etc...

This happens with every domain, but this behaviour was not seen
before the upgrade.

Any ideas?

Cheers,
Andy

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users