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: Mark Feit <>
  • To: Mike Robbert <>, "" <>, "Bidwell, Matt" <>
  • Subject: Re: [perfsonar-user] Migrate perfSONAR toolkit from CentOS 7 to Rocky 9
  • Date: Wed, 15 May 2024 17:51:10 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=internet2.edu; dmarc=pass action=none header.from=internet2.edu; dkim=pass header.d=internet2.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=EeAPu7awXg319XrbwL18Bl5TQLAfyTtwEcyAMkP9EBA=; b=GlUoEAtIqsu8Q+eNdHgr8LGs1VBa56AHC1kJd9xG4B3d67iobrgE6tFVDMk0xxTQeVJqre7Tdd7QH283jDoLua8kp2zy6HSXvlV77QupMq4MVtufJ5zUUnGQS2gQNHLr+Vstw2BgSCID9EXoW1Y0yAz40mb56/Mct0Rt9YnWGRbbSlIos6SWqW4FrZjdc4VrLH9fS1bXJUyw5lKcRFmw+yB+zKCCLLI984jylKUihA4kmkEnz9SOkxGDDfwKEipZWJ9frjkgy0K/CgN1baqL2S46g79GH0Trbwc8KDzmgddmJOQ5wWYPaSjjVCx+LhFCpzv7hOTjhWyCTdCfTByYyA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PW5eQ91PxaeoWOLlSvLrmgXkdzpTXYd2qWeozWfjdgXq5/ZFNnY+2QAo5xpUI34l/74yHjvh9HLWtGR0WMSQHKE28/EfDw00PYeQa3C/bZDfYPb5MRICpnL/B85ok6dk0yZ8Hcm7JNQp347KxqNX/bC2Eom5Cg+uXAFRxtQtu7sz5lIyBSF01LAh4+ewZRiL2NYxwVhLVKuIVhAJdYXCriw5B6/Hxp2cWbwvtbxttvS4Bj6/YSD/HJ45dfS6RjygFrXq+sWcnLdiCIWZktIU0PjYgN+ARiv+QS30tpIP9kwW5v61HZM/XYsr+Jqx4EKwLPCMFzfO7MRh1bkzR3cJBw==

Mike Robbert writes:

 

plpythonu … 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.

 

Plpythonu  became unused in the 4.3.0 release (November, 2020) when we migrated from Python 2 to Python 3.  (EL7 supported both; EL8 dropped Python 2.)  The code that maintains the database between releases purged that module starting in 4.3.0 and still does to this day as a safety measure.  Your system has clearly been through at least one upgrade that should have removed it because plpython3u is present in your backup.  I’m curious about why yours still has is but I’d need the old system still intact to find out.

 

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?

 

The database you imported was for pScheduler, which is one slice of a larger pie.  If that failed during the overall perfSONAR restore process, the restore would have stopped there and not reached MaDDash and pSConfig, which are what’s missing.

 

The quick, dirty, not-officially-supported way to get the remainder of the backup restored would be to grab a copy of the restore script (/usr/lib/perfsonar/scripts/ps-migrate-restore.sh), remove the section that does the pScheduler restore (lines 102-138) from the copy and run it again against the backup file.  Then pretend I never told you any of this.  :-)

 

--Mark

 

 




Archive powered by MHonArc 2.6.24.

Top of Page