The Uninstall Workflow¶
Workflow name: ``uninstall``
Workflow description: Workflow for uninstalling applications.
Workflow parameters:
ignore_failure: Iftrue, then operation errors encountered during uninstallation will not prevent the workflow from moving on; errors will be logged and printed. Iffalse, errors encountered during uninstallation will prompt the orchestrator to behave similarly toinstall(that is: retrying recoverable errors, aboring on non-recoverable errors).
Workflow high-level pseudo-code:
For each node, for each node instance (in parallel):
- Wait for dependent node instances to be deleted. (Only start processing this node instance when the node instances dependent on it are deleted).
- Execute
cloudify.interfaces.monitoring.stopoperation. [1] - If node instance is host node (its type is a subtype of
cloudify.nodes.Compute):- Execute
cloudify.interfaces.monitoring_agentinterfacestopanduninstalloperations. [1] - Stop and uninstall agent workers.
- Execute
- Execute
cloudify.interfaces.lifecycle.stopoperation. [1] - Execute
cloudify.interfaces.relationship_lifecycle.unlinkrelationship operations. [2] - Execute
cloudify.interfaces.lifecycle.deleteoperation. [1]
| [1] | (1, 2, 3, 4) Execute the task mapped to the node’s lifecycle operation (does nothing, if no task is defined). |
| [2] | Execute all tasks mapped to this node’s relationship lifecycle operation (operations execute in the order defined by the node template relationships). |