Search code examples
c#cachingazureazure-storageazure-web-roles

Deployment to cloud fails saying size of DiagnosticStore cannot be reduced?


I recently upgraded my azure storage libraries from 1.7 to 2.1 and since then I have not been able to deploy to my cloud service. I keep getting this deployment error.

The size of local resources cannot be reduced. Affected local resource is DiagnosticStore in WorkerRole. Current size is 20000. Requested size is 4096.

I haven't enabled caching and I tried using Small and even Medium VM's but still the issue persists. Any idea where the issue might be?


Solution

  • Don't deploy directly to the "Production" slot.

    Deploy to the "Staging" slot (which will requisition new resoruces/sizes) and then perform a VIP Swap.