hep-gc / shoal

A squid cache publishing and advertising tool designed to work in fast changing environments
Apache License 2.0
4 stars 8 forks source link

shoal-agent on EL7 #112

Closed rptaylor closed 8 years ago

rptaylor commented 9 years ago

I thought shoal-agent was supported on EL7. However I followed these instructions exactly on Centos7.1 and encountered a problem:

[centos@shoal-test ~]$ cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 
[centos@shoal-test ~]$ sudo yum install shoal-agent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.its.sfu.ca
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.its.sfu.ca
 * updates: mirror.its.sfu.ca
Resolving Dependencies
--> Running transaction check
---> Package shoal-agent.noarch 0:0.9.0-1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: shoal-agent-0.9.0-1.noarch
--> Processing Dependency: pika >= 0.9.9 for package: shoal-agent-0.9.0-1.noarch
--> Processing Dependency: netifaces >= 0.8 for package: shoal-agent-0.9.0-1.noarch
--> Running transaction check
---> Package netifaces.x86_64 0:0.8-1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: netifaces-0.8-1.x86_64
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: netifaces-0.8-1.x86_64
---> Package pika.noarch 0:0.9.13-1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: pika-0.9.13-1.noarch
---> Package shoal-agent.noarch 0:0.9.0-1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: shoal-agent-0.9.0-1.noarch
--> Finished Dependency Resolution
Error: Package: pika-0.9.13-1.noarch (shoal)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-18.el7_1.1.x86_64 (@updates)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (base)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python34-3.4.3-2.el7.x86_64 (epel)
               python(abi) = 3.4
Error: Package: shoal-agent-0.9.0-1.noarch (shoal-dev)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-18.el7_1.1.x86_64 (@updates)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (base)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python34-3.4.3-2.el7.x86_64 (epel)
               python(abi) = 3.4
Error: Package: netifaces-0.8-1.x86_64 (shoal)
           Requires: libpython2.6.so.1.0()(64bit)
Error: Package: netifaces-0.8-1.x86_64 (shoal)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-18.el7_1.1.x86_64 (@updates)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python-2.7.5-16.el7.x86_64 (base)
               python(abi) = 2.7
               python(abi) = 2.7
           Available: python34-3.4.3-2.el7.x86_64 (epel)
               python(abi) = 3.4
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
rptaylor commented 9 years ago

@colsond @igable any ideas?

rptaylor commented 9 years ago

Colson wrote: "If I remember correctly what we did was massage shoal in such a way that one can build RPMS for SL6 or SL7- that does not, however, mean that the rpm in hepgc repo is the rpm for sl7. Steve Traylen was building them on his own for his purposes at CERN.

I suggest following the instructions on the wiki for building the rpms here: https://github.com/hep-gc/shoal/wiki/Building-Shoal-RPMs

I tested them extensively on SL6 and CENTOS7 images while I was there."

kcasteels commented 8 years ago

I have built and tested the shoal-agent rpm for centos 7. It is available for install from http://shoal.heprc.uvic.ca/repo/dev/ along with the required dependencies. Installing using yum on centos 7.1 has been tested and works.

colsond commented 8 years ago

Can this be closed?