Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] TR: perfsonar on CentOS 7

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] TR: perfsonar on CentOS 7


Chronological Thread 
  • From: SCHAER Frederic <>
  • To: Andrew Lake <>, "" <>
  • Subject: RE: [perfsonar-user] TR: perfsonar on CentOS 7
  • Date: Tue, 19 Dec 2017 15:38:00 +0000
  • Accept-language: fr-FR, en-US
  • Ironport-phdr: 9a23:H3PetByTFKVuAVPXCy+O+j09IxM/srCxBDY+r6Qd0uoWK/ad9pjvdHbS+e9qxAeQG9mDsrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPfglEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmiDkJOSMl8G/ZicJwgqBUoBO9qBNw2IPbep2ZOf5kc6/BYd8XR2xMVdtRWSxbBYO8apMCAfcfMOhas4TzqEcApga+Cwm2Guzg1yFHhmX33aImzu8sFg/G3BY+EN0TrnvUttT1O7sIXeCu0KbIzS/MYO1M2Trm9IfHbAoureuCXbJqaMfcz1QkGQ3CjlWVs4PlPjWV2/wMs2id8+pvS/ivi2g5pAFtvDSj3NkjhZTUho4NzlDE7j95z5g6Jd25U057fcSkH4FMtyGbMIt2RN4tTHt2tyY/zb0Gv4S3fDAOyJkh2hXRaOSHfpCV7h/tSuqdOyp0iXNndb6lmhq/9VasxvfhWsS701tGtjdJn9fSunwXyhDe68qKRuFg8kql2juDzQDe5v1cLUA6i6XWKIItz7s1m5cctUnMAzH6lUD2gaCIeEUr5u2l5ub5bbjlvZCRMpF4hRziPqktnMG0HP42PRIUX2eB/OSxzL3j8lP9QLVNlvA5jqjZsIrBJcsFv6K5GApV0po76xqmCDemzcgYkWMZI1NKZBKHlZLmN0vSL//mF/izmVqskC1zy/DHOL3uHInNI2DenLrvY7px8VNQxQsxwNxF+p5ZDq8NLOjuVkL+t9HUFho5PBa1w+bjBtV9zIQeWWeXD6+XKqPdr0KH6fw1I+mNeIAZoi39JOQl5/H0k3A5g0QQcrW30pQNcny4EO5mL12DYXXwmtcBDXsKvg0mQezyllKCSzBTZ221X6I6/D47EpuqDZrYRo+zmryMxyO7HpxNZmBaEVCAD23kd4SCW/cQdi2SOMlhnSIYVbS/UYMuywyhtBKpg4Zge8PS9jcVqtrH3dt4r7nakx0j3TFvScKQzzfJBytsk3kGXDgw1bo6vFdw0H+C17R1mfpVCYYV6v9UGE9uLZPGwfd9DdnoHx/ac82hSVC6T8+gDC1rCN893oldTVx6HoCZpTDq8hDiLaUYm7GRBZd8pqzG0nT8Pcd2jW3N1KAslXEtT8IJO3fw1f03zBTaG4OcyxbRrK2tb6lJhCM=

Hi Andrew,

 

Ah ah ! got the reason :

 

[root@perfsonar02 cassandra]# rpm -q --whatrequires perl-Sys-Statistics-Linux

no package requires perl-Sys-Statistics-Linux

[root@perfsonar02 cassandra]# rpm -q --whatrequires 'perl(Sys::Statistics::Linux)'

nagios-grid-plugins-0.47-5.noarch

libperfsonar-perl-4.0.2.1-1.el7.centos.noarch

libperfsonar-perl-4.0.2.1-1.el7.centos.noarch

libperfsonar-toolkit-perl-4.0.2.1-1.el7.centos.noarch

perfsonar-toolkit-4.0.2-1.el7.centos.noarch

[root@perfsonar02 cassandra]# rpm -q --whatprovides 'perl(Sys::Statistics::Linux)'

nagios-grid-plugins-0.47-5.noarch

perl-Sys-Statistics-Linux-0.59-3.el7.centos.80.647b22fb0bef337e0e05f56c9d1db28355869c5b.noarch

 

 

ð  Yum chose to install my RPM (Nagios grid plugins) over the , which happens to provide that lib because of the rpm automatic dependencies resolution at compile time, even if that lib isn’t in the perl @INC path… I wasn’t even aware my RPM had those provides (provides AND requires at the same time??) . Damn… looks like a bug on me then ;)

 

So indeed the toolkit requires the library (not the rpm, but I guess this is fine) which is provided by another package which yum preferred for install :/

Thanks for updating the Esmond package :]

 

(now I’m trying to fix Cassandra issues and Esmond absence… looks like others reported that issue already on this list)

 

Fred

 

De : Andrew Lake [mailto:]
Envoyé : mardi 19 décembre 2017 16:02
À : ; SCHAER Frederic <>
Objet : Re: [perfsonar-user] TR: perfsonar on CentOS 7

 

 

 

 

 

On December 19, 2017 at 7:32:21 AM, SCHAER Frederic () wrote:

Hi,

 

Sending this to PS users mailing list too..

 

Regards

 

De : SCHAER Frederic 
Envoyé : lundi 18 décembre 2017 17:18
À : 
Objet : [PROVENANCE INTERNET] perfsonar on CentOS 7

 

Hi Guys,

 

I just tested a perfSONAR install on an Centos7 VM…

I found 2 issues for now :

 

-          The repos are mixing RPMs with the testing key and the internet2 key

 

#internet2 key

[root@dev7252 ~]# rpm -qivp http://software.internet2.edu/rpms/el7/x86_64/main/RPMS/bwctl-client-1.6.2-1.el7.centos.x86_64.rpm|grep Sig

Signature   : DSA/SHA1, Sun 16 Apr 2017 08:49:12 PM CEST, Key ID 868ddf2c9d7b9686

 

#testing key

[root@dev7252 ~]# rpm -qivp http://software.internet2.edu/rpms/el7/x86_64/main/RPMS/esmond-2.1.2.2-1.el7.centos.x86_64.rpm|grep Sig

warning: http://software.internet2.edu/rpms/el7/x86_64/main/RPMS/esmond-2.1.2.2-1.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 242b3ccc: NOKEY

Signature   : RSA/SHA1, Thu 14 Dec 2017 10:15:27 PM CET, Key ID 4d14ed04242b3ccc

 

I don’t think using “testing” rpms in non testing repos is a good practice, even if the install instructions on the website would not trigger this error as the perfSONAR repos RPM contains both keys. After installing the testing key, the (rpm) install  went ok.

 

Sorry about that, the latest esmond RPMs were not resigned before uploading. This has been corrected and they are now uplaoded. May take some time for them to hit all the mirrors, but signature has been updated. 

 


 

-          Second issue, and that one is a bug : “yum install perfonsar-toolkit” will not install a working toolkit. there’s now a (new?) missing dependency on “perl-Sys-Statistics-Linux

 

The error I found in httpd/registration daemon and meshconfig agent if I remember correctly were like this :

 

-- Unit perfsonar-lsregistrationdaemon.service has begun starting up.

Dec 18 16:02:30 dev7252._my domain_ lsregistrationdaemon.pl[19945]: Can't locate Sys/Statistics/Linux.pm in @INC (@INC contains: /usr/lib/perfsonar/bin/../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/li

Dec 18 16:02:30 dev7252._my domain_ lsregistrationdaemon.pl[19945]: BEGIN failed--compilation aborted at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/Utils/Host.pm line 33.

Dec 18 16:02:30 dev7252._my domain_ lsregistrationdaemon.pl[19945]: Compilation failed in require at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/LSRegistrationDaemon/Host.pm line 16.

 

A yum install and systemctl restart later, things started ok.

This is now my list of (previously) unspecified deps :

 

'libgomp','php','php-gd','php-xml','php-snmp','mysql','mysql-devel','perl-DBI','perl-DBD-MySQL', 'perl-Sys-Statistics-Linux'

 

The LSRegistrationDaemon requires libperfsonar-perl which in turn requires perl(Sys::Statistics::Linux). I went through the spec files and verified this is indeed the case. I also went through the LSRegistrationDaemon source and verified there were no other references. I am not sure why it did not install for you, but I am not able to recreate at the moment. The RPM appears to be in our yum repos and signed accordingly. 

 


 

I think I can get rid of mysql and perl-dbd-mysql, but I’m not sure about the other php-* : I tried a yum remove on php-{gd,xml,snmp} and this did not trigger any other package removal which I find dubious…

Libgcomp is now a gcc dep, so I can safely remove it from  my  list.

I don't think we require any php stuff anywhere, either directly or indirectly. Not sure what you base install was so can’t speak to any other packages that might be on there. I think you need perl-DBI because the LSRegistrationDaemon uses that to interact with a SQLite file through perl(DBD::SQLite), but you should not need any MySQL drivers since we do not use MySQL anywhere. 

 


 

Regards

Frederic

 




Archive powered by MHonArc 2.6.19.

Top of Page