All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: [XenPPC] can't start xend - anyone similar problems or a hint for me ?]
@ 2007-05-04 15:03 Christian Ehrhardt
  2007-05-09 19:02 ` Tom Wilkie
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Ehrhardt @ 2007-05-04 15:03 UTC (permalink / raw)
  To: xen-devel, Hollis Blanchard

re-submit to xen-devel

Hollis Blanchard wrote:

> On Thu, 2007-05-03 at 16:47 +0200, Christian Ehrhardt wrote:
>   
>> Hi,
>> I can't start xend anymore and wanted to ask if anyone had similar 
>> problems in the past.
>> Also every suggestion to solve that issue is very welcome - actually I 
>> hope someone has a hint for me ;-)
>>
>> It used to work before with some older source tree for xen & linux. I 
>> tested my old xen/dom0 image that used to work together with the new 
>> tools but that throws the same errors (I need to go to the new version 
>> anyway so stepping back would be only a bug trackiong option anyway).
>> I already moved to the current head of xen-unstable.hg and 
>> linux-ppc-2,6.hg and recompiled everything.
>> I used to build/boot debug images but the error occurs also with non 
>> debug images.
>>
>> Here I post the information what I got out of my logs on my system so 
>> far. Important facts are:
>> - exception "metrics" ???
>> - there is some phyton/xen rocess listening on port 8002
>>
>> xend.log:
>> INFO (SrvDaemon:331) Xend Daemon started
>> INFO (SrvDaemon:335) Xend changeset: Wed May 02 14:41:51 2007 +0100 
>> 14995:f3cf882c9578.
>> INFO (SrvDaemon:342) Xend version: Unknown.
>> WARNING (XendNode:147) Error recreating network 
>> af23a262-339d-9043-66f3-56ae2d6d894a
>> ERROR (SrvDaemon:353) Exception starting xend ('metrics')
>> Traceback (most recent call last):
>>    4430   File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 
>> 345, in run
>>    4431     servers = SrvServer.create()
>>    4432   File "//usr/lib/python/xen/xend/server/SrvServer.py", line 
>> 254, in create
>>    4433     root.putChild('xend', SrvRoot())
>>    4434   File "//usr/lib/python/xen/xend/server/SrvRoot.py", line 40, 
>> in __init__
>>    4435     self.get(name)
>>    4436   File "//usr/lib/python/xen/web/SrvDir.py", line 82, in get
>>    4437     val = val.getobj()
>>    4438   File "//usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
>>    4439     self.obj = klassobj()
>>    4440   File "//usr/lib/python/xen/xend/server/SrvNode.py", line 30, 
>> in __init__
>>    4441     self.xn = XendNode.instance()
>>    4442   File "//usr/lib/python/xen/xend/XendNode.py", line 658, in 
>> instance
>>    4443     inst = XendNode()
>>    4444   File "//usr/lib/python/xen/xend/XendNode.py", line 168, in 
>> __init__
>>    4445     XendPIF.recreate(pif, pif_uuid)
>>    4446   File "//usr/lib/python/xen/xend/XendPIF.py", line 197, in recreate
>>    4447     metrics_uuid = record['metrics']
>>    4448 KeyError: 'metrics'
>>     
>
> This looks like a problem in generic code, and there has been some churn
> in XenPIF.py recently, so please report this to xen-devel.
>   
FYI: a quick dirty workaround was to comment out a complete section.
This avoided that issue but I think it can't be the final solution
current workaround:
diff -r bb9ed6b69f8c tools/python/xen/xend/XendNode.py

--- a/tools/python/xen/xend/XendNode.py Thu May 03 07:42:35 2007 -0400
+++ b/tools/python/xen/xend/XendNode.py Thu May 03 07:00:07 2007 -0400
@@ -161,13 +161,13 @@ class XendNode:
-        saved_pifs = self.state_store.load_state('pif')
-        if saved_pifs:
-            for pif_uuid, pif in saved_pifs.items():
-                try:
-                    XendPIF.recreate(pif, pif_uuid)
-                except CreateUnspecifiedAttributeError:
-                    log.warn("Error recreating PIF %s", pif_uuid)
+#        saved_pifs = self.state_store.load_state('pif')
+#        if saved_pifs:
+#            for pif_uuid, pif in saved_pifs.items():
+#                try:
+#                    XendPIF.recreate(pif, pif_uuid)
+#                except CreateUnspecifiedAttributeError:
+#                    log.warn("Error recreating PIF %s", pif_uuid)



-- 

Grüsse / regards, 
Christian Ehrhardt

IBM Linux Technology Center, Open Virtualization
+49 7031/16-3385
Ehrhardt@linux.vmnet.ibm.com
Ehrhardt@de.ibm.com

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen 
Geschäftsführung: Herbert Kircher 
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Fwd: Re: [XenPPC] can't start xend - anyone similar problems or a hint for me ?]
  2007-05-04 15:03 [Fwd: Re: [XenPPC] can't start xend - anyone similar problems or a hint for me ?] Christian Ehrhardt
@ 2007-05-09 19:02 ` Tom Wilkie
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Wilkie @ 2007-05-09 19:02 UTC (permalink / raw)
  To: Christian Ehrhardt; +Cc: xen-devel, Tom Wilkie, Hollis Blanchard

Did you try deleting the xend state?  I think its in /var/xend/state

Cheers

Tom

On 4 May 2007, at 16:03, Christian Ehrhardt wrote:

> re-submit to xen-devel
>
> Hollis Blanchard wrote:
>
>> On Thu, 2007-05-03 at 16:47 +0200, Christian Ehrhardt wrote:
>>
>>> Hi,
>>> I can't start xend anymore and wanted to ask if anyone had  
>>> similar problems in the past.
>>> Also every suggestion to solve that issue is very welcome -  
>>> actually I hope someone has a hint for me ;-)
>>>
>>> It used to work before with some older source tree for xen &  
>>> linux. I tested my old xen/dom0 image that used to work together  
>>> with the new tools but that throws the same errors (I need to go  
>>> to the new version anyway so stepping back would be only a bug  
>>> trackiong option anyway).
>>> I already moved to the current head of xen-unstable.hg and linux- 
>>> ppc-2,6.hg and recompiled everything.
>>> I used to build/boot debug images but the error occurs also with  
>>> non debug images.
>>>
>>> Here I post the information what I got out of my logs on my  
>>> system so far. Important facts are:
>>> - exception "metrics" ???
>>> - there is some phyton/xen rocess listening on port 8002
>>>
>>> xend.log:
>>> INFO (SrvDaemon:331) Xend Daemon started
>>> INFO (SrvDaemon:335) Xend changeset: Wed May 02 14:41:51 2007  
>>> +0100 14995:f3cf882c9578.
>>> INFO (SrvDaemon:342) Xend version: Unknown.
>>> WARNING (XendNode:147) Error recreating network  
>>> af23a262-339d-9043-66f3-56ae2d6d894a
>>> ERROR (SrvDaemon:353) Exception starting xend ('metrics')
>>> Traceback (most recent call last):
>>>    4430   File "//usr/lib/python/xen/xend/server/SrvDaemon.py",  
>>> line 345, in run
>>>    4431     servers = SrvServer.create()
>>>    4432   File "//usr/lib/python/xen/xend/server/SrvServer.py",  
>>> line 254, in create
>>>    4433     root.putChild('xend', SrvRoot())
>>>    4434   File "//usr/lib/python/xen/xend/server/SrvRoot.py",  
>>> line 40, in __init__
>>>    4435     self.get(name)
>>>    4436   File "//usr/lib/python/xen/web/SrvDir.py", line 82, in get
>>>    4437     val = val.getobj()
>>>    4438   File "//usr/lib/python/xen/web/SrvDir.py", line 52, in  
>>> getobj
>>>    4439     self.obj = klassobj()
>>>    4440   File "//usr/lib/python/xen/xend/server/SrvNode.py",  
>>> line 30, in __init__
>>>    4441     self.xn = XendNode.instance()
>>>    4442   File "//usr/lib/python/xen/xend/XendNode.py", line 658,  
>>> in instance
>>>    4443     inst = XendNode()
>>>    4444   File "//usr/lib/python/xen/xend/XendNode.py", line 168,  
>>> in __init__
>>>    4445     XendPIF.recreate(pif, pif_uuid)
>>>    4446   File "//usr/lib/python/xen/xend/XendPIF.py", line 197,  
>>> in recreate
>>>    4447     metrics_uuid = record['metrics']
>>>    4448 KeyError: 'metrics'
>>>
>>
>> This looks like a problem in generic code, and there has been some  
>> churn
>> in XenPIF.py recently, so please report this to xen-devel.
>>
> FYI: a quick dirty workaround was to comment out a complete section.
> This avoided that issue but I think it can't be the final solution
> current workaround:
> diff -r bb9ed6b69f8c tools/python/xen/xend/XendNode.py
>
> --- a/tools/python/xen/xend/XendNode.py Thu May 03 07:42:35 2007 -0400
> +++ b/tools/python/xen/xend/XendNode.py Thu May 03 07:00:07 2007 -0400
> @@ -161,13 +161,13 @@ class XendNode:
> -        saved_pifs = self.state_store.load_state('pif')
> -        if saved_pifs:
> -            for pif_uuid, pif in saved_pifs.items():
> -                try:
> -                    XendPIF.recreate(pif, pif_uuid)
> -                except CreateUnspecifiedAttributeError:
> -                    log.warn("Error recreating PIF %s", pif_uuid)
> +#        saved_pifs = self.state_store.load_state('pif')
> +#        if saved_pifs:
> +#            for pif_uuid, pif in saved_pifs.items():
> +#                try:
> +#                    XendPIF.recreate(pif, pif_uuid)
> +#                except CreateUnspecifiedAttributeError:
> +#                    log.warn("Error recreating PIF %s", pif_uuid)
>
>
>
> -- 
>
> Grüsse / regards, Christian Ehrhardt
>
> IBM Linux Technology Center, Open Virtualization
> +49 7031/16-3385
> Ehrhardt@linux.vmnet.ibm.com
> Ehrhardt@de.ibm.com
>
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Johann Weihen Geschäftsführung:  
> Herbert Kircher Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-09 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 15:03 [Fwd: Re: [XenPPC] can't start xend - anyone similar problems or a hint for me ?] Christian Ehrhardt
2007-05-09 19:02 ` Tom Wilkie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.