6

I'm using Octopus Deploy to deploy a web application to Azure web apps. I'm using the deployment slots with auto-swap feature to warm the app up before making it accessible.

Now Octopus Deploy issues a warning after every deployment:

An auto-swap lock file from a previous deployment was detected and deleted.

Is this a problem? If not (which I suspect), how can I disable the warning?

theDmi
  • 17,546
  • 6
  • 71
  • 138
  • Does that happen regardless of how spaced out deployments are, or only when two deployments are happening within minutes of each other? – David Ebbo Oct 15 '15 at 01:08
  • @DavidEbbo I just confirmed this: I created a new deployment, the last one was 20h ago. The warning is still there! – theDmi Oct 15 '15 at 06:09
  • Could you share the name of your site, directly or indirectly (https://github.com/projectkudu/kudu/wiki/Reporting-your-site-name-without-posting-it-publicly)? Also, what's the UTC time of one such deployment? Thanks! – David Ebbo Oct 15 '15 at 17:17

1 Answers1

3

After some investigation, this appears to be an Azure bug. We are working on a fix, but for now you can safely ignore the warning.

David Ebbo
  • 42,443
  • 8
  • 103
  • 117
  • What's the status on this? I just set up deployment of an ASP.NET Core Web App from Octopus and I'm getting the same warning. – henningst Jul 01 '16 at 08:33
  • @henningst, can you share your site name directly or in-directly https://github.com/projectkudu/kudu/wiki/Reporting-your-site-name-without-posting-it-publicly, so that i can take a look for you – Xiaomin Wu Jul 01 '16 at 20:55
  • It's the two web apps on the same service plan as http://dummy020716.azurewebsites.net/ – henningst Jul 01 '16 at 22:32
  • @henningst i see 8 sites in total, can you give a bit more hints which two sites ? – Xiaomin Wu Jul 01 '16 at 23:46
  • It's the sites in the same resource group as the one mentioned above. The resource group name is sequereme-prod-rg. – henningst Jul 02 '16 at 22:32
  • Any update on this? It's been over 10 months now and I'm still getting this warning when deploying through Octopus Deploy – Simon Aug 22 '16 at 18:00
  • 3
    Same problem here... almost two years later :( – Subgurim Jul 10 '17 at 14:18
  • David Ebbo, still not fixed? – cryss Oct 11 '18 at 08:15
  • Still not fixed. I just setup a new Octopus deploy to a staging slot that's set for auto-swap and getting this message in my logs. – Bil Simser Jun 19 '19 at 17:05
  • I can also confirm this still isn't fixed. Auto-swap isn't working for my Octopus Deploy deployments. – jdtaylor Jul 26 '19 at 12:07
  • I have the same issue (Octopus version 4.1.5) deploying to Azure WebApp 'wa ... nero(Staging)' in Resource Group 'rg- ... ator', using subscription-id 'af7d77 ... d53b45' – cagi Jun 29 '21 at 14:05