[opensuse-factory] Kimchi from Virtualization Repo - unable to create template
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' [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' Appreciating any help. Thanks and kind regards Michael -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On Tue, Dec 1, 2015 at 5:37 PM, Cedric Bosdonnat <cbosdonnat@suse.com> wrote:
Hi Michael,
It looks like that version of kimchi requires psutil < 2.0.0. I'll see if I can make it behave properly. -- Cedric
That'd be great, Cedric. Thanks a bunch. Keep me posted please. -- Michael -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 2015-12-01 at 21:36 +0100, Michael Melcher wrote:
On Tue, Dec 1, 2015 at 5:37 PM, Cedric Bosdonnat <cbosdonnat@suse.com> wrote:
Hi Michael,
It looks like that version of kimchi requires psutil < 2.0.0. I'll see if I can make it behave properly. -- Cedric
That'd be great, Cedric. Thanks a bunch. Keep me posted please.
Fixes just landed in the Virtualization/kimchi. -- Cedric -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Cedric, thanks for the Fix. I'll try it out today. Kind regards Michael On Fri, Dec 4, 2015 at 9:27 AM, Cedric Bosdonnat <cbosdonnat@suse.com> wrote:
On Tue, 2015-12-01 at 21:36 +0100, Michael Melcher wrote:
On Tue, Dec 1, 2015 at 5:37 PM, Cedric Bosdonnat <cbosdonnat@suse.com> wrote:
Hi Michael,
It looks like that version of kimchi requires psutil < 2.0.0. I'll see if I can make it behave properly. -- Cedric
That'd be great, Cedric. Thanks a bunch. Keep me posted please.
Fixes just landed in the Virtualization/kimchi. -- Cedric
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Cedric Bosdonnat
-
Michael Melcher