You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrea Turli (JIRA)" <ji...@apache.org> on 2017/08/24 14:43:00 UTC
[jira] [Commented] (JCLOUDS-1329) Azure ARM extraneous resources
are not cleaned up on node deletion
[ https://issues.apache.org/jira/browse/JCLOUDS-1329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140106#comment-16140106 ]
Andrea Turli commented on JCLOUDS-1329:
---------------------------------------
Thanks [~duncangrant]
Reading https://github.com/jclouds/jclouds-labs/blob/master/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java#L330 I'd have expected `cleanupResources.cleanupNode(id)` was able to delete the vm and most of the resources associated.
Then the `AdaptingComputeServiceStrategies.destroyNode` to collect the NodeMetadata before the deletion and to return it to be used in cleanUpIncidentalResourcesOfDeadNodes.
When are you seeing this problem, during normal flow or in exceptional situations?
> Azure ARM extraneous resources are not cleaned up on node deletion
> ------------------------------------------------------------------
>
> Key: JCLOUDS-1329
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1329
> Project: jclouds
> Issue Type: Bug
> Affects Versions: 2.0.2
> Reporter: Duncan Grant
>
> This is because doDestroyNode returns null once a node has been deleted so there is no node metadata to use to cleanup the extraneous resources.
> This is particularly problematic on Azure ARM as the resource limits are quite low be default for some of these resources so you can quickly get into a state where you can't deploy nodes.
> I've created a PR based on equivalent GCE compute code to fix this.
> https://github.com/jclouds/jclouds-labs/pull/409
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)