You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2019/03/04 22:23:00 UTC
[jira] [Commented] (JCLOUDS-1490) Azure destroyNode try to delete a
NIC in use
[ https://issues.apache.org/jira/browse/JCLOUDS-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783836#comment-16783836 ]
Ignasi Barrera commented on JCLOUDS-1490:
-----------------------------------------
Can you provide the complete stacktrace for the exception?
> Azure destroyNode try to delete a NIC in use
> ---------------------------------------------
>
> Key: JCLOUDS-1490
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1490
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 2.1.2
> Reporter: Simone
> Priority: Trivial
> Labels: azurecompute-arm
>
> I had this error once undeploying a VM on Azure:
> {noformat}
> IllegalArgumentException: {
> "error": {
> "code": "NicInUse",
> "message": "Network Interface /subscriptions/XXX/resourceGroups/XXX/providers/Microsoft.Network/networkInterfaces/jclouds-XXX is used by existing resource /subscriptions/XXX/XXX/providers/Microsoft.Compute/virtualMachines/XXX.",
> "details": []
> }
> }
> {noformat}
> Looks like the machine was not yet undeployed.
> The stacktrace points to
> {noformat}
> computeService.destroyNode( instanceId );
> {noformat}
> And it is probably related to:
> {noformat}
> CleanupResources -> public boolean cleanupVirtualMachineNICs(VirtualMachine virtualMachine)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)