Port-xen archive

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

Re: call for testing: xen 4.1 packages




/var/log/xen/xend.log or /var/log/xen/xend-debug.log should contain
a python backtrace where the error happened.

Nothing shows up in xend-debug.log. In xend.log I see:
[2011-03-31 23:45:51 12525] ERROR (xmlrpclib2:181) Internal error handling 
xend.domain.create
Traceback (most recent call last):
   File "/usr/pkg/lib/python2.6/site-packages/xen/util/xmlrpclib2.py", line 
134, in _marshaled_dispatch
     response = self._dispatch(method, params)
   File "/usr/pkg/lib/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
     return func(*params)
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/server/XMLRPCServer.py", 
line 80, in domain_create
     info = XendDomain.instance().domain_create(config)
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomain.py", line 
1001, in domain_create
     dominfo = XendDomainInfo.create(config)
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 
106, in create
     vm.start()
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 
473, in start
     XendTask.log_progress(0, 30, self._constructDomain)
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/XendTask.py", line 209, 
in log_progress
     retval = func(*args, **kwds)
     balloon.free(16*1024, self) # 16MB should be plenty
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/balloon.py", line 117, 
in free
     dom0_alloc = get_dom0_current_alloc()
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/balloon.py", line 59, in 
get_dom0_current_alloc
     kb = _get_proc_balloon('current')
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/balloon.py", line 54, in 
_get_proc_balloon
     return osdep.lookup_balloon_stat(label)
   File "/usr/pkg/lib/python2.6/site-packages/xen/xend/osdep.py", line 97, in 
_netbsd_balloon_stat
     (name, value) = sysctloutput.split('=')
ValueError: need more than 1 value to unpack


If you are on NetBSD-5 then pull up  dom0 balloon support from -current
then the error goes away.

To be more precise, you don't need to pull up the full balloon support.
The python code expects the following sysctl's available:

kern.xen.balloon.current
kern.xen.balloon.target

Christoph


Home | Main Index | Thread Index | Old Index