[ 
https://issues.apache.org/jira/browse/JCLOUDS-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Gaul resolved JCLOUDS-1569.
----------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

> "did not receive expected response code and header" during undeploy request
> ---------------------------------------------------------------------------
>
>                 Key: JCLOUDS-1569
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1569
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 2.3.0
>            Reporter: Simone
>            Priority: Minor
>              Labels: azurecompute-arm
>             Fix For: 2.4.0
>
>
> {code:java}
> 11:35:00.727 �[1;31mERROR�[0;39m �[36mUndeployTaskRunnable�[0;39m taskId: 83 
> ref: 203 - Unable to undeploy [�[32mpool-5-thread-67�[0;39m]
> java.lang.IllegalStateException: did not receive expected response code and 
> header in: {statusCode=202, message=, headers={statusCode=202, message=, 
> headers={..., 
> location=[https://management.azure.com/subscriptions/01c8f3d0-fd9f-42e2-85b3-e566b0e7d073/providers/Microsoft.Compute/locations/northcentralus/operations/5509a0e8-002b-4698-a721-7b0b47881fe2?monitor=true&api-version=2018-06-01],
>  ...}
>       at 
> org.jclouds.azurecompute.arm.functions.URIParser.apply(URIParser.java:38)
>       at 
> org.jclouds.azurecompute.arm.functions.URIParser.apply(URIParser.java:28)
>       at 
> org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
>       at 
> org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
>       at 
> org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
>       at 
> org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
>       at 
> com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:86)
>       at com.sun.proxy.$Proxy271.delete(Unknown Source)
>       at 
> org.jclouds.azurecompute.arm.compute.strategy.CleanupResources.deleteVirtualMachine(CleanupResources.java:233)
>       at 
> org.jclouds.azurecompute.arm.compute.strategy.CleanupResources.cleanupNode(CleanupResources.java:91)
>       at 
> org.jclouds.azurecompute.arm.compute.AzureComputeServiceAdapter.destroyNode(AzureComputeServiceAdapter.java:330)
>       at 
> org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.destroyNode(AdaptingComputeServiceStrategies.java:182)
>       at 
> org.jclouds.compute.internal.BaseComputeService.doDestroyNode(BaseComputeService.java:290)
>       at 
> org.jclouds.compute.internal.BaseComputeService.destroyNode(BaseComputeService.java:246)
> {code}
> looks like the bug is 'location' wrote lowercase: 
> https://github.com/apache/jclouds/blob/master/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/functions/URIParser.java



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to