I am finding that something is going wrong sometimes when I try to kill a domain. the domain will sit in a state with it's memory usage listed as 0 in 'xm list'. xend will stop but will not restart again. an orderly reboot of xen0 will cause an oops.
It seems to happen when the domain i'm trying to kill is writing lots of information to the console.
here's the crash I get when I try to restart xend:
# xend start XendRoot>configure> XendRoot>set_config> config_path= /etc/xen/xend-config.sxp XendRoot>set_config> loading XendRoot> config= ['xend-config', ['xend-port', '8000'], ['xend-address', ''], ['network-script', '/bin/true'], ['vif-bridge', 'xen-br0'], ['vif-script', 'vif-bridge'], ['vif-antispoof', 'no']] [xend] INFO (SrvDaemon:604) Xend Daemon started Traceback (most recent call last): File "/usr/sbin/xend", line 115, in ? sys.exit(main()) File "/usr/sbin/xend", line 103, in main return daemon.start() File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 519, in start self.run() File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 610, in run SrvServer.create(bridge=1) File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvServer.py", line 47, in create xend = SrvRoot() File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvRoot.py", line 29, in __init__ self.get(name) File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDir.py", line 69, in get val = val.getobj() File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDir.py", line 39, in getobj self.obj = klassobj() File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDomainDir.py", line 23, in __init__ self.xd = XendDomain.instance() File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 802, in instance inst = XendDomain() File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 65, in __init__ self.initial_refresh() File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 153, in initial_refresh d_dom = self._new_domain(config, doms[domid]) File "/usr/lib/python2.3/site-packages/xen/xend/XendDomain.py", line 188, in _new_domain deferred = XendDomainInfo.vm_recreate(savedinfo, info) File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 290, in vm_recreate d = vm.construct(config) File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 509, in construct image_handler(self, image) File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 1015, in vm_image_linux vm.create_domain("linux", kernel, ramdisk, cmdline, len(vifs)) File "/usr/lib/python2.3/site-packages/xen/xend/XendDomainInfo.py", line 768, in create_domain self.console = xendConsole.console_create(self.dom, console_port=self.console_port) File "/usr/lib/python2.3/site-packages/xen/xend/XendConsole.py", line 36, in console_create consinfo = daemon.console_create(dom, console_port=console_port) File "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py", line 711, in console_create console = self.consoleCF.createInstance(dom, console_port) File "/usr/lib/python2.3/site-packages/xen/xend/server/console.py", line 90, in createInstance console = ConsoleController(self, dom, console_port) File "/usr/lib/python2.3/site-packages/xen/xend/server/console.py", line 124, in __init__ self.registerChannel() File "/usr/lib/python2.3/site-packages/xen/xend/server/controller.py", line 220, in registerChannel self.channel = self.channelFactory.domChannel(self.dom) File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 58, in domChannel chan = Channel(self, dom) File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 212, in __init__ self.port = self.factory.createPort(dom) File "/usr/lib/python2.3/site-packages/xen/xend/server/channel.py", line 97, in createPort return xu.port(dom) xen.lowlevel.xu.PortError: Failed to map domain control interface
|