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: Andrew Lake <>
  • To: "" <>, SCHAER Frederic <>
  • Subject: Re: [perfsonar-user] TR: perfsonar on CentOS 7
  • Date: Tue, 19 Dec 2017 07:01:56 -0800
  • Ironport-phdr: 9a23:Qr7lmR+jjWJ1if9uRHKM819IXTAuvvDOBiVQ1KB32+IcTK2v8tzYMVDF4r011RmVBdyds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+54Dfbx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsaS2VDUMZfUCNODI2/YYUSEeQOIf1VoJPhq1YUtxazHxWgCeHpxzRVhnH2x6o60+E5HAza2gwvAsgOv2rard7oMqkdS+O1w7fVxjjEdfxW3yry6YjTfx8/uvGAR7RwftTNyUQ2EQ7Ok1ueqYvgPzyP1+QNtXCW7+tmVeKzlWEnsQdxrSazxssykIXGmJ8ayk3c+SV924Y1P8O3SEF6Yd6/DJtQrTuVN5d3QsMlRWFnpTw1xaMDuZ68eigG0ownxxrZZveacIaI+gruWPuPLTp7nn5odqizihmv/US6y+DxVdG43EhWoidBiNXBtXAA2wbN5sSZRPZx5Fqt1DKL2g3V9+pKO1o7lbDBJJ4k2rMwloQcsUDEHiLulkX5kqGbel8g+uez7+TreLrmppiCN4NsiwH+NLohmtCnDOglLAQDXHKX9Oqm2LDs4EH1WrRHg/4unqncqp/aJMAbpqCjAw9S14Yu8wywDzG739UYhnQIMklFdAiBj4f3J1HCOOr4Auung1SwjDdrwOjLPqX/DZXXIHjDi7DhfbBn5E5G0QYz0Mtf6IxOCrwaJPLzW1TxtMDDDhMnKQC0wuDnCMlj2YMEX2KAHLOZPL3IvVCW++0vPrrEWIhA8i7wMfY+4PjnlzokglIHVaivwZYNbn2kRLJrL1jTKS70j80PCmAMtxB7UffnknWDVyJefXC/Q/h66z0mXsbuNqzjb62XyJKb0Su2BJxdLjRIEF2AHG3pfMOfUPcFZTi6KcJo1DIeA+uPUYgkgDiouBX31PJDJ+nZsnkRs57y/NVuoeveiUdhpnRPE82B3jTVHClPlWQSSmpzhfgnrA==





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