kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.12k stars 364 forks source link

kimchi install on ubuntu 16.10 is broken #1083

Closed Trolldemorted closed 7 years ago

Trolldemorted commented 7 years ago
[07/Dec/2016:02:30:59] HTTP Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/kimchi/control/base.py", line 330, in index
    return self.create(parse_request(), *args)
  File "/usr/lib/python2.7/dist-packages/kimchi/control/base.py", line 262, in create
    name = create(*args)
  File "/usr/lib/python2.7/dist-packages/kimchi/model/templates.py", line 95, in create
    t = LibvirtVMTemplate(params, scan=True, conn=self.conn)
  File "/usr/lib/python2.7/dist-packages/kimchi/model/templates.py", line 233, in __init__
    VMTemplate.__init__(self, args, scan)
  File "/usr/lib/python2.7/dist-packages/kimchi/vmtemplate.py", line 62, in __init__
    entry = osinfo.lookup(os_distro, os_version)
  File "/usr/lib/python2.7/dist-packages/kimchi/osinfo.py", line 189, in lookup
    params['max_memory'] = psutil.TOTAL_PHYMEM >> 10
AttributeError: 'module' object has no attribute 'TOTAL_PHYMEM'

It would be very nice if you'd repair the install flow or provide us with a handy workaround.

alinefm commented 7 years ago

Hi @Trolldemorted

Please, do not use 'apt-get install kimchi'. We have received a lot of bugs related to that. We are in process to have the packages updated with Debian community but it will take some time.

Please, use the packages provided by the community to install on Ubuntu or Debian. You can find them at http://kimchi-project.github.io/kimchi/downloads/

A new release 2.3.1 will be announced next week if you can wait some time to get the newer version.

Trolldemorted commented 7 years ago

if we should not use apt-get install kimchi you should get that package removed for the time being.

we tried the .deb packages you have linked before iirc, but we will try again this evening. How is the python-psutil problem handled there?

alinefm commented 7 years ago

As I said, we are working with Debian community to get the packages updated in the official repositories.

I have not seen the psutil error before.

Trolldemorted commented 7 years ago

installing the .deb packages you linked worked, however you have to install ginger (not only gingerbase) to get it to work properly - and ginger is not mentioned on the page you have sent.

Thanks for your quick help!

ColumGaynor commented 6 years ago

For the record I tried also to install Kimchi to Ubuntu 16.10 followed all the advice documented in your git site to "install the needed dependencies" but I still could not succeed. Uploaded the log file of all actions tried and responses obtained to next url. At least it seems there are additional dependencies which are causing issues and your current instructions are not sufficient to get a successfull install. Pity. I was looking forward to try it out! Link to log file: https://filebin.ca/3kFF0JnbCfk8/kimchi_install_failures.txt

saulhuerta commented 6 years ago

Hello, I suggest the following:

Follow the process indicated in the following link

https://github.com/kimchi-project/wok

Regards

2017-12-10 14:46 GMT-06:00 ColumGaynor notifications@github.com:

For the record I tried also to install Kimchi to Ubuntu 16.10 followed all the advice documented in your git site to "install the needed dependencies" but I still could not succeed. Uploaded the log file of all actions tried and responses obtained to next url. At least it seems there are additional dependencies which are causing issues and your current instructions are not sufficient to get a successfull install. Pity. I was looking forward to try it out! Link to log file: https://filebin.ca/3kFF0JnbCfk8/kimchi_install_ failures.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kimchi-project/kimchi/issues/1083#issuecomment-350580309, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3D4u336KpgQskrNTzMHxyk1oJwVGoKks5s_EMqgaJpZM4LGHav .

--

Regards!

Saúl Huerta

[ Skype: saul-huerta ]