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