Comment 7 for bug 1522444

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

So, when we click Delete button on UI for deployed node, there are no any DELETE requests for tasks. We just mark the node as "pending deletion". To remove it from environment completely, we need to run redeployment for the environment. In this case, all previous deployment tasks will be deleted, yes.

But in the case of provisioned and not deployed nodes, we do not need to redeploy environment. Provision task won't be deleted.

Does UI need to send both requests when deleting a provisioned node: PUT /api/nodes/ and DELETE /api/tasks/<provision_task_id> ?