kimchi-project / kimchi

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

Install on Centos 7 fails at CherryPy #780

Open ChadMac opened 8 years ago

ChadMac commented 8 years ago

Error is : Package: kimchi-1.4.1-1.el7.centos.noarch (okay) Requires: python-cherrypy >= 3.2.0

Also installed CherryPy and installer still errors.

alinefm commented 8 years ago

Hi @ChadMac ! Did you install python-cherrypy >= 3.2.0? Which version are you using?

mrflow commented 8 years ago

Hi @alinefm,

same problem here on centos 7 with EPEL. There is only cherrypy 2.3.0 available as package (from EPEL):

[root@wherever ~]# yum search cherrypy
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosmirror.netcup.net
 * epel: mirror.de.leaseweb.net
 * extras: centosmirror.netcup.net
 * updates: centosmirror.netcup.net
========= N/S matched: cherrypy =========
python-cherrypy2.noarch : Pythonic, object-oriented web development framework

[root@wherever ~]# yum info python-cherrypy2
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosmirror.netcup.net
 * epel: mirror.de.leaseweb.net
 * extras: centosmirror.netcup.net
 * updates: centosmirror.netcup.net
Verfügbare Pakete
Name       : python-cherrypy2
Architektur : noarch
Version    : 2.3.0
Ausgabe    : 18.el7
Größe : 264 k
Quelle      : epel/x86_64
Zusammenfassung: Pythonic, object-oriented web development framework
URL        : http://www.cherrypy.org/
Lizenz      : BSD
Beschreibung: CherryPy allows developers to build web applications in much the same way
            : they would build any other object-oriented Python program. This usually
            : results in smaller source code developed in less time.
            : 
            : This is a compat package for programs which still need the 2.x branch of
            : CherryPy.
JGjorgji commented 8 years ago

I don't see cherrypy in the requirements page, are you using it only as a web server? If so maybe don't require it in the rpm?

I also can't seem to find the .spec file for the rpm, could you please provide that?

alinefm commented 8 years ago

Hi @mrflow,

Hrm... we should update the spec file to update that. Usually, the Kimchi community do tests on Fedora23 and RHEL7.

I verified on EPEL repository and the only package found is that you pointed (https://dl.fedoraproject.org/pub/epel/7/x86_64/repoview/python-cherrypy2.html)

But I have a RHEL7.1 system which has the required package installed and seems it came from EPEL.

[root@rhel-vm ~]# yum info python-cherrypy-3.2.2-4.el7.noarch Loaded plugins: langpacks, product-id, rhnplugin, subscription-manager There was an error communicating with RHN. Red Hat Satellite or RHN Classic support will be disabled. Error communicating with server. The message was: Connection timed out on write Installed Packages Name : python-cherrypy Arch : noarch Version : 3.2.2 Release : 4.el7 Size : 1.4 M Repo : installed From repo : epel Summary : Pythonic, object-oriented web development framework URL : http://www.cherrypy.org/ License : BSD Description : CherryPy allows developers to build web applications in much the same way : they would build any other object-oriented Python program. This usually : results in smaller source code developed in less time.

Hi @JGjorgji,

Cherrypy is used as a reverse proxy by Wok. The dependency is properly listed in the README file: https://github.com/kimchi-project/wok/blob/master/docs/README.md#install-dependencies

Kimchi spec file can be found at: https://github.com/kimchi-project/kimchi/tree/master/contrib Wok spec file can be found at: https://github.com/kimchi-project/wok/tree/master/contrib

JGjorgji commented 8 years ago

Ok so i think the problem is that it used to be in epel but it is now retired in the meantime since it's now provided by Redhat in RHEL 7.2 and not epel. We'll have to wait for Centos 7.2 to land, I'm building a newer version from the fedora srpm's to try in the meantime.

mrflow commented 8 years ago

@alinefm and the rest:

The package is no longer hosted in EPEL [1], since it is included in RHEL 7.2. So most probably it will also be included in CentOS 7.2

1: https://admin.fedoraproject.org/pkgdb/package/python-cherrypy/

You can still manually install the latest build that was included in EPEL from here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=489389

Then most probably you will get future updates directly from the CentOS repository.

Conclusion: NOTABUG