Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9


Chronological Thread 
  • From: Mike Robbert <>
  • To: "" <>
  • Subject: Re: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9
  • Date: Wed, 15 May 2024 14:37:41 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mines.edu; dmarc=pass action=none header.from=mines.edu; dkim=pass header.d=mines.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gXcbzmvob0rIbJcvY1tG/ervCOM5hqNQpC1P8o9mdLs=; b=BeJT1piv7kCXqVrfPIVFtk4UcZC5r2rZ8WOnvB9l4lOuS8EJA2jbP0Nt8OBl2X/ggYyX8JBo35F8yFCgTP3uPdW6MnG+gI1NgbuMdAdxDSmuybZDHXInWqtffLs7WOZP7g+PUYNbuqsXLGVWnBSx+AbEar8dFkwD+M/rcpU2bEHX/MrZB3nYJ5IYP2FO48YcfJR32ZG2nheo8YIpJPeWohB5JMejzE8vx7z3hGPGKnMX4ftYY46YiC0aw5G8lR5JPZL6d9FLV/1OglpfD/mt99kDG8y6uI/yuYKMJ6Vdk2dq17q1EKWBc752i+vRAvjNkgok2oTIuK+wiuh7mwDl8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RaFiMe4P8eBaQE1/XfvXcpIYTsTlftEvVVM7tDS6f2c6NDuJNnEk4r31CphV9loluE/0iSjlGZIxOlsk2d9E6zAInUFKF0TcfHC/v/Lyf0CjYGTSumnEEjk1VNIeSEMDFFV8q3/eW5mMpEvfQpOco/UUaUu2kR+c+Nkv9EmXJAF2ZZup/MeKoxLw4pz8ZPI1QB8U16l8VMPcOyzXFUoNDVY5pZKMhxTKfO8zhmgABK7FS2yyErXk47qUyDKJACwWs5kbbgkwEo+4Btd59pSiwBd1MW25lIbJt5b+D5wLPTKjaq+eHAnfZ7E9uHuGyoWEp7TJxCCTlfAxVa1KV/TKLQ==

I did a little more research since my message yesterday. I found that the reason my services weren’t starting is due to SELinux. I’ve disabled that for now and will dig into that issue later. More to the point of the issue that I’m really trying to solve I did find the source of the plpythonu error. It is a procedural language extension that is configured to get loaded from the backup file that came from CentOS 7. Since that extension isn’t available in EL 8 or 9 it appears that an import from that backup file will always fail on the new OS. The backup file also included plpython3u which is the new version, so I commented out the old version and manually imported my database. Unfortunately, after doing that I still have none of my previously configured tests in the dashboard and therefore no old graph data.

Am I misunderstanding what the migrate scripts are supposed to do, or did I miss something when I manually imported the database? Has anybody been able to do a migration of tests and data from CentOS 7 to EL 8 or 9?

 

Mike Robbert

Cyberinfrastructure Specialist, Cyberinfrastructure and Advanced Research Computing

Information and Technology Solutions (ITS)

303-273-3786 |   

A close up of a sign Description automatically generated

 

On 5/14/24, 11:47, "" <> wrote:

 

I have a couple of standalone (no mesh) perfSONAR Toolkit nodes that have been running CentOS 7 and I would like to upgrade them to Rocky 9. I found documentation for the move from CentOS 6 to 7 on some old perfSONAR 4 documentation pages (https://docs.perfsonar.net/release_candidates/4.0rc2/install_migrate_centos7.html). It looks like those scripts changed names in the current release of perfSONAR, but they are still there just not documented anywhere I can find. I made a backup of one of my servers and did a fresh install of Rocky 9.4 and got the perfSONAR toolkit installed on the new install, but now the restore operation is failing to run and has caused many of the perfSONAR services to fail. Here are the errors that I’m seeing when doing the restore:

 

===========================================

Restoring pScheduler from backup:

  Unpacking backup... Done.

Warning: The unit file, source configuration file or drop-ins of httpd.service changed on disk. Run 'systemctl daemon-reload' to reload units.

  Restoring configuration... Done.

  Restoring database...

 

Database restore failed:

set_config

------------

 

(1 row)

 

set_config

------------

 

(1 row)

 

ERROR:  could not open extension control file "/usr/share/pgsql/extension/plpythonu.control": No such file or directory

 

Restoring prior database... Done.

Job for pscheduler-ticker.service failed because the control process exited with error code.

See "systemctl status pscheduler-ticker.service" and "journalctl -xeu pscheduler-ticker.service" for details.

Unable to restore pScheduler configuration

===========================================

 

Has anybody seen this before or know where I can look to attempt to fix it?

I do see that plpythonu.control does not exist, but that it was replaced with plpython3u.control in Rocky9, but so far I haven’t been able to figure out where that is getting called/referenced and probably wouldn’t know how to fix it if I found it.

 

Thanks in advance for any help you can provide.

 

Mike Robbert

Cyberinfrastructure Specialist, Cyberinfrastructure and Advanced Research Computing

Information and Technology Solutions (ITS)

303-273-3786 |   

A close up of a sign Description automatically generated

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.24.

Top of Page