Domains go into a strange dying / shutdown state
After doing some stress testing which basically involves starting up and shutting down FC6 paravirt guests running on Xen 3.1.0, I have domains which fall into a strange state where they cannot be shutdown or destroyed.
I modified libvirt so that it prints out the return from the hypervisor call getdomaininfo. The results are below (all domains other than 0 are in this state).
domain = 0
flags = 32tot_pages = 501888max_pages = 4294967295shared_info_frame = 464cpu_time = 164613775580514nr_online_vcpus = 4max_vcpu_id = 3
ssidref = 0
handle = 0x618d94
domain = 656
flags = 196613tot_pages = 472max_pages = 65536shared_info_frame = 4023cpu_time = 255195882nr_online_vcpus = 1max_vcpu_id = 0
ssidref = 0
handle = 0x618ddc
domain = 659
flags = 1tot_pages = 472max_pages = 65536shared_info_frame = 4035cpu_time = 4036443852nr_online_vcpus = 1max_vcpu_id = 0
ssidref = 0
handle = 0x618e24
domain = 866
flags = 1tot_pages = 472max_pages = 65536shared_info_frame = 3970cpu_time = 3612084955nr_online_vcpus = 1max_vcpu_id = 0
ssidref = 0
handle = 0x618e6c
domain = 1210
flags = 1tot_pages = 472max_pages = 65536shared_info_frame = 3998cpu_time = 1178432030nr_online_vcpus = 1max_vcpu_id = 0
ssidref = 0
handle = 0x618eb4
For example:
# /usr/sbin/xm destroy 1210 # /usr/sbin/xm shutdown 1210 Error: Domain '1210' does not exist. # /usr/sbin/xm destroy 1210
(But if I rerun the HV list command above, I still see the domain 1210).
Some points to note:
* cpu_time doesn't increase between listings.
* The previous time this happened, I had flags = 5 (is_dying && is_shut_down) for all the broken domains.
* This problem is readily reproducible if I leave the tests running overnight.
Is there anything I can do to help debug this further?
Rich.
Signature · 4 lines
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel