Hi Michael, On Tue, 2015-12-01 at 16:02 +0100, Michael Melcher wrote:
Hi,
I installed kimchi from the Virtualization Repo and uploaded an iso into it. When I want to create a new template in kimchi and select that iso I get an error in the webfrontend. The kimchi-error.log shows the following:
[01/Dec/2015:15:14:14] HTTP Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 61, in __call__ return self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.7/site-packages/kimchi/control/base.py", line 330, in index return self.create(parse_request(), *args) File "/usr/lib/python2.7/site-packages/kimchi/control/base.py", line 262, in create name = create(*args) File "/usr/lib/python2.7/site-packages/kimchi/model/templates.py", line 95, in create t = LibvirtVMTemplate(params, scan=True, conn=self.conn) File "/usr/lib/python2.7/site-packages/kimchi/model/templates.py", line 233, in __init__ VMTemplate.__init__(self, args, scan) File "/usr/lib/python2.7/site-packages/kimchi/vmtemplate.py", line 62, in __init__ entry = osinfo.lookup(os_distro, os_version) File "/usr/lib/python2.7/site-packages/kimchi/osinfo.py", line 191, in lookup params['max_memory'] = psutil.TOTAL_PHYMEM >> 10 AttributeError: 'module' object has no attribute 'TOTAL_PHYMEM'
It looks like that version of kimchi requires psutil < 2.0.0. I'll see if I can make it behave properly. -- Cedric -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org