IBM Support

IBM Cloud Pak System (or IBM PureApplication System): Virtual System Instance update never completes

Troubleshooting


Problem

Virtual System Instance update never completes.

Symptom

After initiating the update process for an instance by clicking "Check for updates" and then "Update", the instance is stuck at launch time; that is, the update never completes.

Diagnosing The Problem

Check the /0config/0config.log on each of the virtual machines. Check whether there are two consecutive entries as follows with a timestamp that is later than the time when the update was initiated:
/0config/0config.sh starting at Di 3. Sep 09:11:08 CEST 2019
      Updating the node.

Resolving The Problem

  1. Restore the instance from the snapshot.
  2. Click "Check for updates" and then "Update" to initiate the normal update process for the instance.
  3. Wait for at least a couple of hours, and after that:
    • If the instance is still in LAUNCHING state, continue with the next steps.
    • If the instance is in RUNNING state, it indicates that the update process is successful, therefore skip the next steps.
  4. Do the following steps on each virtual machine:
    1. SSH to VM as a root user
    2. tar cvf /tmp/agent130319.tar /opt/IBM/maestro/agent    
    3. rm -rf /0config/itlm/foundation
    4. rm -rf /0config/safemode
    5. rm -rf /opt/IBM/maestro/agent
    6. touch /0config/update
    7. Reboot the virtual machine (from UI or shell)
    8. Wait for the virtual machine to restart successfully and for all the middleware roles to come into RUNNING state.
  5. Update the deployment.json file to bring the instance to the normal RUNNING state:
    1. Backup the deployment.json file (https://<CPSHostNameOrIPAddress>/storehouse/user/deployments/<deploymentid>/deployment.json)
    2. Using a REST client, send a PUT request to https://<CPSHostNameOrIPAddress>/storehouse/user/deployments/<deploymentid>/deployment.json with the body containing the original deployment.json file but having the following attribute values:
      maintenance_mode = false
      update.inProgress = false

Document Location

Worldwide

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFQSV","label":"IBM Cloud Pak System Software"},"ARM Category":[],"Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.2.5;2.2.6;2.3.0;2.3.1;2.3.2;2.3.3"},{"Line of Business":{"code":"","label":""},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSM8NY","label":"PureApplication System"},"ARM Category":[{"code":"a8m0z000000cwm2AAA","label":"Product Components"}],"Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"2.2.5;2.2.6;2.3.0;2.3.1;2.3.2;2.3.3"}]

Document Information

Modified date:
11 September 2020

UID

ibm11103739