Maximo Application Suite
Customer-managed

Upgrade of Cloud Pak for Data makes some notebooks unusable in Maximo Health and Predict - Utilities

After Cloud Pak for Data is upgraded to version 4.0, the Watson Studio notebooks and jobs that are used in Maximo® Health and Predict - Utilities no longer work correctly.

Symptom

After Cloud Pak for Data is upgraded to version 4.0, the asset-class specific notebooks and jobs in Watson Studio that are associated with Cloud Pak for Data 3.0 cannot be used in scoring groups in Maximo Health and Predict - Utilities.

Cause

The notebooks and jobs in Watson Studio are not associated with version 3.7 of the Python runtime environment.

Resolution

  1. Log in to the Cloud Pak for Data dashboard as an administrator.
  2. Click Quick navigation->All projects.
  3. In your Maximo Health and Predict - Utilities project, click Assets->Notebooks.
  4. Associate each notebook that includes 3.0.0 in its name with the Python 3.7 runtime environment.
    1. Clicke of the notebooks, for example IBM-SCFF-Cables-3.0.0.ipynb, and click Change Environment.
    2. In the drop down, click Default Python 3.7 (1 vCPU and 2GB RAM) and click Associate.
    3. Edit the notebook and comment out the following lines by inserting a hash character, that is '#', before each line:
    from ctypes import *
    lib1=cdll.LoadLibrary('/opt/conda/envs/Python-3.7-main/lib/libpython3.7m.so.1.0')
    1. Click Save Notebook and Save Version.
  5. In your Maximo Health and Predict - Utilities project, click Jobs.
  6. Associate each job that includes 3-0-0 in its name with the Python 3.7 runtime environment.
    1. Clicke of the jobs, for example Run-IBM-SCGF-Cables-3-0-0, and click Edit Configuration->Next.
    2. In the dropdown, click Default Python 3.7
    3. Click Next until you reach the Review and save step. 
    4. Review the details and save your changes.