IBM Support

UrbanCode Deploy does not undeploy patterns with many images

Troubleshooting


Problem

You will not be able to undeploy images in IBM SmartCloud Orchestrator, IBM Workload Deployer or IBM PureApplication System by deleting the Environment in IBM UrbanCode Deploy, as the "Delete Cloud Instances" check box is absent.

Symptom

You created a Virtual System Pattern with multiple images in IBM SmartCloud Orchestrator, IBM Workload Deployer or IBM PureApplication System.

You can successfully deploy this pattern from IBM UrbanCode Deploy by saving an environment based on a blue print created from a Cloud Resource Template.

If you then try to delete the environment in IBM UrbanCode Deploy, you will not see the Delete Cloud Instances check box. Only the Delete Attached Resources is visible.

As a result, the images are not undeployed from the cloud after the environment is deleted.

Cause

This issue occurs when the Virtual System Pattern takes a long time to complete its deployment. It has been observed with certain complex patterns that contain 5 images.

Diagnosing The Problem

You can search for messages of the following form to indicate the current time-out:

"Using Cloud Request Timeout="xxx". Set this property using cloud.requestTimeout=\"<integer>\" in installed.properties, specified in seconds."

However, note that no error is reported in the traces, even if you enabled cloud traces with the option:


cloud.logLevel=DEBUG

Resolving The Problem

SOLUTION

  1. Increase the timeout by updating the <Installation_dir>\conf\server\installed.properties file and changing the value of the cloud.requestTimeout = [timeout in seconds] property

  2. Restart the UrbanCode Deploy server

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Integrations - IBM","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.0.1;6.0.1.1;6.0.1.2;6.0.1.3;6.0.1.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21674440