jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1490) Azure destroyNode try to delete a NIC in use
Date Mon, 04 Mar 2019 22:23:00 GMT

    [ 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)

Mime
View raw message