409 Conflict, when deploying in Azure #3
Comments
I tried deploying to staging slot when there is existing deployment in production slot. I need more details from you to understand the issue you are facing. Can you please give me your exact repo steps? What is the service name and target environment you are selecting in eclipse publish wizard in both the cases? |
Hi, the exact steps I did was:
is this the expected behavior? |
I got the 409 conflict too. |
@Hannu-Daniel , Thanks for reporting with exact repo steps. We are now tracking the issue and will update the status of issue#3 once the fix is available for public. |
Try with the latest Eclipse plugin update (October release - v2.2.0) - there is now a checkbox in the publish wizard letting you override the existing deployment. |
When I deploy an application to the cloud to a cloud service, which already has an instance, I get the error message 409 Conflict. (This also happens, if there is just one instance in production and no instance in staging.)
In my mind, this should not happen. It should be possible to deploy to a cloud service, which only has instances running in production.
The stack trace from the eclipse log is:
!ENTRY WAEclipsePlugin 4 0 2013-10-18 10:16:53.303
!MESSAGE Error
!STACK 0
com.gigaspaces.azure.deploy.DeploymentException: Failed : HTTP error code : 409
Conflict
at com.gigaspaces.azure.deploy.DeploymentManager.deploy(DeploymentManager.java:239)
at com.gigaspaces.azure.wizards.WindowsAzureDeploymentJob.doTask(WindowsAzureDeploymentJob.java:133)
at com.gigaspaces.azure.wizards.WindowsAzureDeploymentJob.access$1(WindowsAzureDeploymentJob.java:131)
at com.gigaspaces.azure.wizards.WindowsAzureDeploymentJob$3.run(WindowsAzureDeploymentJob.java:121)
at java.lang.Thread.run(Unknown Source)
Caused by: com.gigaspaces.azure.rest.RestAPIConflictException: Failed : HTTP error code : 409
Conflict
at com.gigaspaces.azure.rest.WindowsAzureServiceImpl.validateResponse(WindowsAzureServiceImpl.java:109)
at com.gigaspaces.azure.rest.WindowsAzureServiceManagement.createDeployment(WindowsAzureServiceManagement.java:423)
at com.gigaspaces.azure.deploy.DeploymentManager.createDeployment(DeploymentManager.java:393)
at com.gigaspaces.azure.deploy.DeploymentManager.deploy(DeploymentManager.java:210)
... 4 more
The text was updated successfully, but these errors were encountered: