Troubleshooting
Problem
When you upgrade IBM Maximo Manage from version 8.3 to 8.4, the custom resource "manage-maxinst" of type "ManageDeployment" shows an error:
- message: |
The task includes an option with an undefined variable. The error was: 'resources' is undefined
The error appears to be in '/opt/ansible/roles/manage-deployment/tasks/deployment/maxinst-deploy.yml': line 64, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Deploy Maxinst Admin Image
^ here
Cause
In version 8.3, this custom resource does not define a 'resources' section in the spec. This section is required in version 8.4
Diagnosing The Problem
Check the "manage-maxinst" custom resource of type "ManageDeployment" for any error:
oc get ManageDeployment manage-maxinst -o yaml
Resolving The Problem
1- Edit the "manage-maxinst" custom resource of type "ManageDeployment"
oc edit ManageDeployment manage-maxinst -n mas-<instanceID>-manage
2- Add a resources section under the spec:
resources:
manageAdmin:
limits:
cpu: '2'
memory: 4Gi
requests:
cpu: '0.5'
memory: 500Mi
serverBundles:
limits:
cpu: '6'
memory: 10Gi
requests:
cpu: '0.5'
memory: 2Gi
3- Wait for the reconciliation to happen
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m50000000CbD5AAK","label":"Upgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
24 May 2023
UID
ibm16986611