jclouds-notifications mailing list archives

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

             Summary: 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

I had this error once undeploying a VM on Azure:
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": []

Looks like the machine was not yet undeployed.
The stacktrace points to
computeService.destroyNode( instanceId );

 And it is probably related to:
CleanupResources -> public boolean cleanupVirtualMachineNICs(VirtualMachine virtualMachine)

This message was sent by Atlassian JIRA

View raw message