Hi All,
Just a public service announcement regarding Spectrum Scale (formerly GPFS) and Python 3 from these repositories.
I've updated Spectrum Scale to 5.1.1.3 and am receiving the following error when trying to start the Spectrum Scale monitoring service.
$ mmsysmoncontrol restartWed Oct 20 12:09:08 AEDT 2021: [W] Python 3 not found in /usr/bin/python3. The Spectrum Scale monitoring service will not be started.[1]
All operating systems that are running IBM Spectrum Scale 5.1.x, including AIX nodes, must have Python 3.6 or later installed.I installed Python 3.7.11 from the AIX Open Source packages provided by IBM.
# yum info python3Installed PackagesName : python3Arch : ppcVersion : 3.7.11Release : 1Size : 127 MRepo : installedA post by Sanket Rathi [2] speaks towards packaging changes being made to all maintained open source packages on AIX. IBM will no longer be creating symbolic links in /usr/bin or /usr/sbin back to binaries in /opt/freeware/bin and /opt/freeware/sbin.
It appears the Python 3 files in gpfs.base are still configured to point to /usr/bin/python3 (which no longer exists).
# head /usr/lpp/mmfs/lib/mmsysmon/NodeState.py#!/usr/bin/python3## Licensed Materials - Property of IBM## "Restricted Materials of IBM"## (C) COPYRIGHT IBM Corp. 2014 All Rights Reserved## US Government Users Restricted Rights - Use, duplication or# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.I raised a support ticket with IBM, and their recommendation is to create symbolic link in /usr/bin to resolve the issue.
They advised that AIX 7.3 will have Python 3 in its base install, which means that they will not have to create the symlink. They have no plans to change the behavior of GPFS on AIX 7.1 or 7.2.
[1] -
https://www.ibm.com/docs/en/spectrum-scale/5.1.1?topic=monitoring-system-health-by-using-mmhealth-command[2] -
https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MessageKey=396d1fc1-ecb6-45f4-ad80-22ffe3e4c88c&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer&ReturnUrl=%2fcommunity%2fuser%2fpower%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d10c1d831-47ee-4d92-a138-b03f7896f7c9%26tab%3ddigestviewerRegards,
Kristian Milos
------------------------------
Kristian Milos
------------------------------