[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] domu crash on reboot, cpus reparsed -- SOLVED



hi.
this is true in 3.0.4, i think also in unstable but not sure.

when i reboot a domu, cpus is re-parsed.
but "list" type have no "split" attribute:
---
  File "/usr/lib/python2.4/site-packages/xen/xend/XendConfig.py", line 556, in
_parse_sxp
    cpus = []
AttributeError: 'list' object has no attribute 'split'
---

so, i made a little patch, including that one:
http://lists.xensource.com/archives/html/xen-devel/2007-01/msg00599.html

the point is:
if(cfg[cpus]) is a list, then skip next code.

seems to work for me, no crash and cpus parsed correctly.
it's up to you to close the bug i have opened
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=874
or to make a better patch :)

bye
d.

p.s.: is bugzilla alive?
p.p.s.: sorry for eventual double posting, forgot attachment and posted from 
non-subscribed mail

Attachment: fix_cpus_parsing.patch
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.