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: "Bidwell, Matt" <>
  • To: 'Mike Robbert' <>, "" <>
  • Subject: RE: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9
  • Date: Wed, 15 May 2024 15:30:30 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nrel.gov; dmarc=pass action=none header.from=nrel.gov; dkim=pass header.d=nrel.gov; 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=ME9VfXnR2j+KQxpGmM5dogYQ9G0K7nEWgXkjlLV22Ng=; b=gXpOdoKLMxo8tEwXfYnbxI0QuMcPfvnfLqsSpJvzCfPRrImiL0FdG/+Gvn9WFo30VQfsLwKu3/2ru/h6QAdIghNwy5YjQPcpjUJNeHRSdGnkvGir6N5XOZFJAiNlsUktmAexZzkPEb6yOtyKx9wWpT2vLDmuYlGsnG5auVZvXemht1Cb+aaJg1Ic9OQwsRSGg8jfZ/6ym0XlVLezkHKSVI1vSKse/g1RZKJ6aRAXRc06FshtDfz/jfi36y9c9xxBJ+2SJO12Vq+F1q4ngl6YJ9K9XMFKwbzQaWVpbuEp3LXW+dTKE1Qaf1IIgJVyci2G6Ebbz+ANHNbvPjz9wfNK8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lk/4lHueDRHkj9Bdw+byUv5JvfKAz29VtmjGz/+4Ckr9WaXLmZxG82+csMH/rwhdHIFmTKlRtWxyPD1l/XmyV+4K4ek4AYiLrJAaI81oPZbFUu3iSHPF0RbXYVmcoVNq7hLjYw/29ucilZUf9w2O8OvRJBj/C+N10O/53SfaoRCz5x+oMPqFZl67pCzrjk3/4hk5dqIpARzpHLtaOP7gNq/BgcSnj2bzXXeEBiTwX5zK8KmQLA4SirYaCpGHoqfK9Wc9qCdfFjLw6WUn5eMdLk6DId8sSXYxCmnu265EW5OzV8pAZzplF3S5c9rFOALr+qx28XofNurn8S5LeJDAqA==
  • Msip_labels: MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_ActionId=e5aada9c-394f-4f74-a567-861fb67904ac;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_ContentBits=0;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_Enabled=true;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_Method=Standard;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_Name=General;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_SetDate=2024-05-15T15:18:03Z;MSIP_Label_95965d95-ecc0-4720-b759-1f33c42ed7da_SiteId=a0f29d7e-28cd-4f54-8442-7885aee7c080;

Mike,

We just did similar but went pretty scorched earth with it. We didn’t really have any need for the historic data outside of keeping a list of endpoints, and turned out public nodes into test only systems, shipping the data inside our network and using our existing Grafana to visualize. We also brought the OpenSearch portion inside the network, and that was really the only part we ran into weird stuff security-wise (more FIPS than Selinux).

We didn’t have to do too much special for repos on the test boxes, basically baseos, appstream epel, and code ready builder (RHEL, they call it something different in Rocky).

-Matt

 

From: <> On Behalf Of Mike Robbert
Sent: Wednesday, May 15, 2024 8:38 AM
To:
Subject: Re: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9

 

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 |   

 

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 |   

PNG image




Archive powered by MHonArc 2.6.24.

Top of Page