I have one Azure Cloud Service with a production deployment and a staging deployment.
I can upgrade, stop, delete, ... the production deployment but I cannot do any action on staging one. Says:
Windows Azure is currently performing an operation with xxxxx on this deployment that requires exclusive access.
I waited the entire weekend and the problem persist. If I check on my Operation logs I can see that trace:
<SubscriptionOperation xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<OperationId>xxxxxxxx</OperationId>
<OperationObjectId>/xxxxxxxx/services/hostedservices/fxcalendar/deployments/xxxxxxxx</OperationObjectId>
<OperationName>DeleteDeploymentBySlot</OperationName>
<OperationParameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.ServiceManagement">
<OperationParameter>
<d2p1:Name>subscriptionID</d2p1:Name>
<d2p1:Value>xxxxxxxx</d2p1:Value>
</OperationParameter>
<OperationParameter>
<d2p1:Name>serviceName</d2p1:Name>
<d2p1:Value>xxxxxxxx</d2p1:Value>
</OperationParameter>
<OperationParameter>
<d2p1:Name>deploymentSlot</d2p1:Name>
<d2p1:Value>Staging</d2p1:Value>
</OperationParameter>
</OperationParameters>
<OperationCaller>
<UsedServiceManagementApi>true</UsedServiceManagementApi>
<UserEmailAddress>Unknown</UserEmailAddress>
<SubscriptionCertificateThumbprint />
<ClientIP>xxxxxxxx</ClientIP>
</OperationCaller>
<OperationStatus>
<ID>xxxxxxxx</ID>
<Status>Failed</Status>
<HttpStatusCode>409</HttpStatusCode>
<Error>
<Code>ConflictError</Code>
<Message>Windows Azure is currently performing an operation with x-ms-requestid xxxxxxxx on this deployment that requires exclusive access.</Message>
</Error>
</OperationStatus>
<OperationStartedTime>2013-11-04T09:04:37Z</OperationStartedTime>
<OperationCompletedTime>2013-11-04T09:04:38Z</OperationCompletedTime>
</SubscriptionOperation>
I don't know how to restore the Staging deployment. Only walkarround I can think is creating a new Cloud service and change DNS.