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-devel

Re: [Xen-devel] KeyError: 'use_tmp_kernel' with -unstable

To: Jun Koi <junkoi2004@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] KeyError: 'use_tmp_kernel' with -unstable
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 24 Jul 2009 12:05:24 +0100
Cc:
Delivery-date: Fri, 24 Jul 2009 04:11:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50907240358o1898f3afs47b216e33c981318@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoMTcqPze/6y8jdRSOYF07qgLePSwAANntc
Thread-topic: [Xen-devel] KeyError: 'use_tmp_kernel' with -unstable
User-agent: Microsoft-Entourage/12.19.0.090515
The offending changeset is 19961. I will revert.

 -- Keir

On 24/07/2009 11:58, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:

> Hi,
> 
> The latest -unstable tree has following error when starting xend
> 
> This is on Ubuntu 9.04, Python 2.6.2
> 
> Any suggestion to fix this?
> 
> Thanks,
> J
> 
> # cat /var/log/xen/xend.log
> ....
> ERROR (SrvDaemon:349) Exception starting xend ('use_tmp_kernel')
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
> line 341, in run
>     servers = SrvServer.create()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py",
> line 251, in create
>     root.putChild('xend', SrvRoot())
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py",
> line 40, in __init__
>     self.get(name)
>   File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
> line 84, in get
>     val = val.getobj()
>   File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
> line 52, in getobj
>     self.obj = klassobj()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py",
> line 30, in __init__
>     self.xn = XendNode.instance()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
> line 1015, in instance
>     inst.save()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
> line 485, in save
>     self.save_networks()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
> line 500, in save_networks
>     for network_uuid in XendNetwork.get_all()])
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py",
> line 102, in get_record
>     for key in keys])
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.py",
> line 196, in get_VIFs
>     vms = XendDomain.instance().get_all_vms()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
> line 1739, in instance
>     inst.init()
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
> line 123, in init
>     dom0 = XendDomainInfo.recreate(dom0info, True)
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
> line 206, in recreate
>     vm.image = image.create(vm, vm.info)
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
> line 66, in create
>     return findImageHandlerClass(vmConfig)(vm, vmConfig)
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
> line 98, in __init__
>     self.configure(vmConfig)
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
> line 680, in configure
>     ImageHandler.configure(self, vmConfig)
>   File "/usr/local/lib/python2.6/dist-packages/xen/xend/image.py",
> line 111, in configure
>     if vmConfig['use_tmp_kernel']:
> KeyError: 'use_tmp_kernel'
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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